Dryanvfi commited on
Commit
b2baec4
1 Parent(s): b7c0cc3

add error messages

Browse files

Adding in error message display so users can understand any reasons why the app may be failing.

Files changed (1) hide show
  1. app.py +1 -1
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)