diff --git a/fastAPI_main.py b/fastAPI_main.py index 866d7aa..88e469c 100644 --- a/fastAPI_main.py +++ b/fastAPI_main.py @@ -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="*" diff --git a/static/results/seg_36b5940b74da4fd4880fd135f7dccd5a.jpg b/static/results/seg_36b5940b74da4fd4880fd135f7dccd5a.jpg new file mode 100644 index 0000000..ede9e55 Binary files /dev/null and b/static/results/seg_36b5940b74da4fd4880fd135f7dccd5a.jpg differ