zeisel commited on
Commit
4e1a7c1
·
verified ·
1 Parent(s): 9c31880

Update app.py

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