Spaces:
Sleeping
Sleeping
add error messages
Browse filesAdding in error message display so users can understand any reasons why the app may be failing.
app.py
CHANGED
@@ -405,4 +405,4 @@ with gr.Blocks(theme='aliabid94/new-theme') as demo:
|
|
405 |
chart_button.click(prompt_analyze_reporting, inputs=[prompt_reporting,passed_args], outputs=chart_output)
|
406 |
load_button.click(getData, inputs=[tlspc_api_key, openai_api_key], outputs=[api_key_output,passed_args])
|
407 |
|
408 |
-
demo.launch()
|
|
|
405 |
chart_button.click(prompt_analyze_reporting, inputs=[prompt_reporting,passed_args], outputs=chart_output)
|
406 |
load_button.click(getData, inputs=[tlspc_api_key, openai_api_key], outputs=[api_key_output,passed_args])
|
407 |
|
408 |
+
demo.launch(show_error = True)
|