jayanth7111 commited on
Commit
06295db
·
verified ·
1 Parent(s): bb1c8db

Force verbose + debug errors in Gradio app

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -23,5 +23,6 @@ iface = gr.Interface(
23
  description="Upload a frame, get corruption probabilities."
24
  )
25
 
26
- if __name__=="__main__":
27
- iface.launch(show_error=True)
 
 
23
  description="Upload a frame, get corruption probabilities."
24
  )
25
 
26
+ if __name__ == "__main__":
27
+ # Force both verbose errors and debug-level logs
28
+ iface.launch(show_error=True, debug=True)