FastAPI
This commit is contained in:
@@ -152,7 +152,7 @@ if __name__ == "__main__":
|
||||
# 使用 Python 函数参数的方式传递配置
|
||||
uvicorn.run(
|
||||
"fastAPI_main:app", # 注意:这里要改成你的文件名:app对象名
|
||||
host="0.0.0.0",
|
||||
host="127.0.0.1",
|
||||
port=55600,
|
||||
proxy_headers=True, # 对应 --proxy-headers
|
||||
forwarded_allow_ips="*" # 对应 --forwarded-allow-ips="*"
|
||||
|
||||
BIN
static/results/seg_36b5940b74da4fd4880fd135f7dccd5a.jpg
Normal file
BIN
static/results/seg_36b5940b74da4fd4880fd135f7dccd5a.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 111 KiB |
Reference in New Issue
Block a user