chioujye1007 commited on
Commit
ccfbbae
·
verified ·
1 Parent(s): 0ccd8bc

Simplify launch() params for HF Spaces

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -603,8 +603,4 @@ def build_app():
603
 
604
  if __name__ == "__main__":
605
  app = build_app()
606
- app.queue(default_concurrency_limit=4).launch(
607
- server_name="0.0.0.0",
608
- server_port=int(os.environ.get("PORT", 7860)),
609
- show_api=False,
610
- )
 
603
 
604
  if __name__ == "__main__":
605
  app = build_app()
606
+ app.queue(default_concurrency_limit=4).launch()