LittleMonkeyLab commited on
Commit
88dcce9
·
verified ·
1 Parent(s): 5e508f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -701,4 +701,9 @@ def create_app():
701
  # Launch the application
702
  if __name__ == "__main__":
703
  app = create_app()
704
- app.launch(debug=True)
 
 
 
 
 
 
701
  # Launch the application
702
  if __name__ == "__main__":
703
  app = create_app()
704
+ app.launch(
705
+ server_name="0.0.0.0",
706
+ server_port=int(os.environ.get("PORT", 7860)),
707
+ debug=False, # safer for public
708
+ share=False, # unnecessary on Spaces
709
+ )