dont need this anymore, have better error codes now
Browse files
app.py
CHANGED
@@ -460,20 +460,6 @@ with gr.Blocks(theme='Nymbo/Nymbo_Theme_5') as dalle:
|
|
460 |
### Remember, these settings are all about giving you control over the image generation process. Feel free to experiment and see what each one does. And if you're ever in doubt, the default settings are a great place to start. Happy creating!
|
461 |
"""
|
462 |
)
|
463 |
-
|
464 |
-
# Accordion explaining possible error codes
|
465 |
-
with gr.Accordion("Error Codes and What They Mean", open=False):
|
466 |
-
gr.Markdown(
|
467 |
-
"""
|
468 |
-
## Error Codes:
|
469 |
-
#### 500: Error Fetching Model
|
470 |
-
###### This is a temporary error usually caused by a model experiencing high demand, or it is being updated. Try again in a few minutes.
|
471 |
-
|
472 |
-
#### 503: Model is being loaded
|
473 |
-
###### When a particular model hasn't been used for some time, it goes into sleep mode. Error 503 means that the model is being loaded and will be ready within a minute.
|
474 |
-
"""
|
475 |
-
)
|
476 |
-
|
477 |
# Row containing the 'Run' button to trigger the image generation
|
478 |
with gr.Row():
|
479 |
text_button = gr.Button("Run", variant='primary', elem_id="gen-button")
|
|
|
460 |
### Remember, these settings are all about giving you control over the image generation process. Feel free to experiment and see what each one does. And if you're ever in doubt, the default settings are a great place to start. Happy creating!
|
461 |
"""
|
462 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
463 |
# Row containing the 'Run' button to trigger the image generation
|
464 |
with gr.Row():
|
465 |
text_button = gr.Button("Run", variant='primary', elem_id="gen-button")
|