Spaces:
Sleeping
Sleeping
change to default port
Browse files
README.md
CHANGED
@@ -5,7 +5,6 @@ colorFrom: gray
|
|
5 |
colorTo: green
|
6 |
sdk: docker
|
7 |
pinned: false
|
8 |
-
port: 8000
|
9 |
---
|
10 |
|
11 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
5 |
colorTo: green
|
6 |
sdk: docker
|
7 |
pinned: false
|
|
|
8 |
---
|
9 |
|
10 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
start.sh
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
export API_TOKEN="your-secret-token-here"
|
5 |
|
6 |
# 启动FastAPI服务
|
7 |
-
python -m uvicorn api:app --host 0.0.0.0 --port
|
|
|
4 |
export API_TOKEN="your-secret-token-here"
|
5 |
|
6 |
# 启动FastAPI服务
|
7 |
+
python -m uvicorn api:app --host 0.0.0.0 --port 7860
|