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