megatrump commited on
Commit
12e7edb
·
1 Parent(s): c1ac6cf

change to default port

Browse files
Files changed (2) hide show
  1. README.md +0 -1
  2. start.sh +1 -1
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 8000
 
4
  export API_TOKEN="your-secret-token-here"
5
 
6
  # 启动FastAPI服务
7
+ python -m uvicorn api:app --host 0.0.0.0 --port 7860