anhkhoiphan commited on
Commit
9679ba5
·
verified ·
1 Parent(s): 42da704

Add settings for launch

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -68,4 +68,10 @@ if __name__ == "__main__":
68
  app = create_combined_app()
69
 
70
  # Launch with appropriate settings for Hugging Face Spaces
71
- app.launch()
 
 
 
 
 
 
 
68
  app = create_combined_app()
69
 
70
  # Launch with appropriate settings for Hugging Face Spaces
71
+ app.launch(
72
+ server_name="0.0.0.0", # Required for HF Spaces
73
+ server_port=7860, # Default HF Spaces port
74
+ share=False, # Don't need share link on HF Spaces
75
+ show_error=True,
76
+ debug=False
77
+ )