Liu Yiwen commited on
Commit
85f34c6
·
1 Parent(s): 2020d16

update port

Browse files
Files changed (2) hide show
  1. README.md +1 -0
  2. app.py +1 -1
README.md CHANGED
@@ -6,6 +6,7 @@ colorTo: blue
6
  sdk: gradio
7
  sdk_version: 5.12.0
8
  app_file: app.py
 
9
  pinned: false
10
  short_description: A tool for interactive observation of lotsa dataset
11
  ---
 
6
  sdk: gradio
7
  sdk_version: 5.12.0
8
  app_file: app.py
9
+ app_port: 7860
10
  pinned: false
11
  short_description: A tool for interactive observation of lotsa dataset
12
  ---
app.py CHANGED
@@ -331,4 +331,4 @@ with gr.Blocks() as demo:
331
  if __name__ == "__main__":
332
 
333
  app = gr.mount_gradio_app(app, demo, path="/")
334
- uvicorn.run(app, host="0.0.0.0", port=int(os.getenv("PORT", 7860)))
 
331
  if __name__ == "__main__":
332
 
333
  app = gr.mount_gradio_app(app, demo, path="/")
334
+ uvicorn.run(app, host="0.0.0.0", port=7860)