update code
This commit is contained in:
11
app.py
11
app.py
@@ -1,3 +1,4 @@
|
||||
from asyncio import timeout
|
||||
from datetime import datetime, timedelta
|
||||
from flask import Flask, render_template, jsonify, request
|
||||
import json
|
||||
@@ -1017,8 +1018,8 @@ if __name__ == '__main__':
|
||||
print("下载完成")
|
||||
|
||||
print("启动聊天网页服务...")
|
||||
print("访问地址: http://127.0.0.1:5000")
|
||||
print("问答页面: http://127.0.0.1:5000/qa")
|
||||
print("周报页面: http://127.0.0.1:5000/weekly_report")
|
||||
print("日报页面: http://127.0.0.1:5000/daily_report")
|
||||
app.run(debug=True, host='127.0.0.1', port=5000)
|
||||
print("访问地址: http://0.0.0.0:5000")
|
||||
print("问答页面: http://0.0.0.0:5000/qa")
|
||||
print("周报页面: http://0.0.0.0:5000/weekly_report")
|
||||
print("日报页面: http://0.0.0.0:5000/daily_report")
|
||||
app.run(debug=True, host='0.0.0.0', port=5000,timeout=60)
|
||||
Reference in New Issue
Block a user