Ashrafb commited on
Commit
6d9f633
1 Parent(s): 5b5b751

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -30,7 +30,7 @@ def generate_image(prompt):
30
  except Exception as e:
31
  # Handle the error gracefully, such as logging the error or returning a default image
32
  raise gr.Error("Experiencing high demand. Please retry shortly. Thank you for your patience.")
33
-
34
 
35
 
36
 
 
30
  except Exception as e:
31
  # Handle the error gracefully, such as logging the error or returning a default image
32
  raise gr.Error("Experiencing high demand. Please retry shortly. Thank you for your patience.")
33
+ return "Experiencing high demand. Please retry shortly. Thank you for your patience"
34
 
35
 
36