Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,8 @@ def generate_image(upload_images, prompt, negative_prompt, style_name, steps, pr
|
|
25 |
|
26 |
|
27 |
def error_if_no_img(prompt):
|
28 |
-
|
|
|
29 |
|
30 |
|
31 |
|
|
|
25 |
|
26 |
|
27 |
def error_if_no_img(prompt):
|
28 |
+
if "img" not in prompt:
|
29 |
+
raise gr.Error("test")
|
30 |
|
31 |
|
32 |
|