fhudi commited on
Commit
cd327bf
·
1 Parent(s): 7b10e40

change host to 0.0.0.0

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -165,7 +165,7 @@ with gr.Blocks(title="TextGames", delete_cache=(3600, 3600)) as demo:
165
  app = gr.mount_gradio_app(app, demo, path="/TextGames", auth_dependency=get_username)
166
 
167
  if __name__ == '__main__':
168
- uvicorn.run(app, port=int(os.environ.get("GRADIO_SERVER_PORT", "7860")))
169
 
170
 
171
  #%%
 
165
  app = gr.mount_gradio_app(app, demo, path="/TextGames", auth_dependency=get_username)
166
 
167
  if __name__ == '__main__':
168
+ uvicorn.run(app, port=int(os.environ.get("GRADIO_SERVER_PORT", "7860")), host="0.0.0.0")
169
 
170
 
171
  #%%