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

change uvicorn default port

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", "8080")))
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")))
169
 
170
 
171
  #%%