Melika Kheirieh commited on
Commit
e156859
·
1 Parent(s): 3c2f1c5

fix(demo): bind gradio to 0.0.0.0:7860 for HF Spaces

Browse files
Files changed (1) hide show
  1. demo/app.py +1 -1
demo/app.py CHANGED
@@ -186,4 +186,4 @@ with gr.Blocks(title="NL2SQL Copilot") as demo:
186
  )
187
 
188
  if __name__ == "__main__":
189
- demo.launch()
 
186
  )
187
 
188
  if __name__ == "__main__":
189
+ demo.launch(server_name="0.0.0.0", server_port=7860)