AdnanElAssadi commited on
Commit
d986f08
·
verified ·
1 Parent(s): ef12246

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -862,7 +862,7 @@ if __name__ == "__main__":
862
  import os
863
  # Disable file watching to prevent restart loops
864
  os.environ['GRADIO_WATCH'] = 'no'
865
- demo.launch(prevent_thread_lock=True)
866
  except Exception as e:
867
  import traceback
868
  print(f"Error launching demo: {traceback.format_exc()}")
 
862
  import os
863
  # Disable file watching to prevent restart loops
864
  os.environ['GRADIO_WATCH'] = 'no'
865
+ demo.launch(show_error=True)
866
  except Exception as e:
867
  import traceback
868
  print(f"Error launching demo: {traceback.format_exc()}")