yuoop commited on
Commit
c7019f6
·
verified ·
1 Parent(s): 7898b18

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -75,6 +75,6 @@ def after_request(response):
75
 
76
 
77
  if __name__ == '__main__':
78
- port = int(os.environ.get("PORT", 8000))
79
  print(f"Flask 服务器已启动,监听 {port} 端口")
80
  app.run(debug=True, host='0.0.0.0', port=port)
 
75
 
76
 
77
  if __name__ == '__main__':
78
+ port = int(os.environ.get("PORT", 7860))
79
  print(f"Flask 服务器已启动,监听 {port} 端口")
80
  app.run(debug=True, host='0.0.0.0', port=port)