hssling commited on
Commit
7c66421
·
1 Parent(s): 261cc2b

Fix Gradio connection crash loop by enforcing 0.0.0.0 bind host

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -90,4 +90,4 @@ demo = gr.Interface(
90
  )
91
 
92
  if __name__ == "__main__":
93
- demo.launch(share=False) # Will be automatically launched by HF Spaces without share=True
 
90
  )
91
 
92
  if __name__ == "__main__":
93
+ demo.launch(server_name="0.0.0.0", server_port=7860)