zeisel commited on
Commit
c0983a0
·
verified ·
1 Parent(s): e6ec6a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -74,5 +74,5 @@ app = gr.mount_gradio_app(app, gradio_ui, path="/gradio")
74
  # ---------- 启动配置 ----------
75
  if __name__ == "__main__":
76
  # Hugging Face Spaces 使用 PORT 环境变量
77
- port = int(os.getenv("PORT", 7860))
78
  uvicorn.run(app, host="0.0.0.0", port=port)
 
74
  # ---------- 启动配置 ----------
75
  if __name__ == "__main__":
76
  # Hugging Face Spaces 使用 PORT 环境变量
77
+ port = int(os.getenv("PORT", 5173))
78
  uvicorn.run(app, host="0.0.0.0", port=port)