Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ print(status_info["status"])
|
|
| 31 |
print(status_info["status_code"])
|
| 32 |
|
| 33 |
|
| 34 |
-
if status_info["status"] is False:
|
| 35 |
interface = create_failed_gradio_ui(status_info)
|
| 36 |
# Launch the UI
|
| 37 |
interface.launch(show_error=True)
|
|
|
|
| 31 |
print(status_info["status_code"])
|
| 32 |
|
| 33 |
|
| 34 |
+
if status_info["status"] is False or status_info["status_code"] == "503":
|
| 35 |
interface = create_failed_gradio_ui(status_info)
|
| 36 |
# Launch the UI
|
| 37 |
interface.launch(show_error=True)
|