sam2ai commited on
Commit
6e91351
1 Parent(s): 1b35ec4

Synced repo using 'sync_with_huggingface' Github Action

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -58,12 +58,12 @@ RUN --mount=type=cache,target=/root/.cache/pip \
58
  pip3 install -r requirements.txt
59
 
60
  # Expose the FastAPI port
61
- EXPOSE 5001
62
 
63
  # Start the FastAPI app using Uvicorn web server
64
  # CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "14000", "--limit-concurrency", "1000"]
65
  RUN python3 download.py
66
 
67
- CMD ["python3", "infer_server.py", "--host=0.0.0.0", "--port=5001", "--model_path=models/sam2ai/whisper-odia-small-finetune-int8-ct2", "--num_workers=2"]
68
 
69
 
 
58
  pip3 install -r requirements.txt
59
 
60
  # Expose the FastAPI port
61
+ EXPOSE 7860
62
 
63
  # Start the FastAPI app using Uvicorn web server
64
  # CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "14000", "--limit-concurrency", "1000"]
65
  RUN python3 download.py
66
 
67
+ CMD ["python3", "infer_server.py", "--host=0.0.0.0", "--port=7860", "--model_path=models/sam2ai/whisper-odia-small-finetune-int8-ct2", "--num_workers=2"]
68
 
69