zenafey commited on
Commit
616e3a4
1 Parent(s): 4ce840d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 should contain 'img'")
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