Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,4 +51,7 @@ with gr.Blocks() as demo:
|
|
| 51 |
voice_btn.click(listen_voice_command, None, msg, queue=False)
|
| 52 |
clear.click(lambda: None, None, chatbot, queue=False)
|
| 53 |
|
|
|
|
|
|
|
|
|
|
| 54 |
demo.launch(show_error=True)
|
|
|
|
| 51 |
voice_btn.click(listen_voice_command, None, msg, queue=False)
|
| 52 |
clear.click(lambda: None, None, chatbot, queue=False)
|
| 53 |
|
| 54 |
+
# Add the runtime error message to the app
|
| 55 |
+
gr.Error("runtime error\nNo @spaces.GPU function detected during startup\nContainer logs:")
|
| 56 |
+
|
| 57 |
demo.launch(show_error=True)
|