Girinath11 commited on
Commit
8afa1cf
·
verified ·
1 Parent(s): 3d5faef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -2
app.py CHANGED
@@ -296,5 +296,13 @@ if __name__ == "__main__":
296
 
297
  # Launch the app
298
  demo.launch(
299
- share=True
300
- )
 
 
 
 
 
 
 
 
 
296
 
297
  # Launch the app
298
  demo.launch(
299
+ share=True,
300
+ server_name="0.0.0.0",
301
+ server_port=7860,
302
+ show_error=True
303
+ )
304
+
305
+ except Exception as e:
306
+ logger.error(f"Failed to start application: {e}")
307
+ logger.error(f"Full traceback: {traceback.format_exc()}")
308
+ raise