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