Abhishek commited on
Commit
eebb60a
·
1 Parent(s): c86d8a1

fix: let Gradio auto-find free port to avoid OSError crash loops

Browse files
Files changed (1) hide show
  1. src/apps/_base.py +0 -1
src/apps/_base.py CHANGED
@@ -336,7 +336,6 @@ def run_app(spec: ProjectSpec) -> int:
336
  server_port = int(os.environ.get('PORT', '7860'))
337
  demo.launch(
338
  server_name=server_name,
339
- server_port=server_port,
340
  show_error=True,
341
  share=False,
342
  )
 
336
  server_port = int(os.environ.get('PORT', '7860'))
337
  demo.launch(
338
  server_name=server_name,
 
339
  show_error=True,
340
  share=False,
341
  )