miittnnss commited on
Commit
c4b3ea9
1 Parent(s): 9adb21a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -58,7 +58,7 @@ def generate_image(prompt, selected_model, is_negative=False, steps=1, cfg_scale
58
  return image
59
 
60
  except requests.exceptions.RequestException as e:
61
- raise gr.Error("Error generating image: The service/model is unavailable. Please try again later.")
62
 
63
  with gr.Blocks(theme="soft") as playground:
64
  gr.HTML(
 
58
  return image
59
 
60
  except requests.exceptions.RequestException as e:
61
+ raise gr.Error("The service/model is unavailable. Please try again later, or select another model.")
62
 
63
  with gr.Blocks(theme="soft") as playground:
64
  gr.HTML(