Update app.py
Browse files
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("
|
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(
|