Spaces:
Running
Running
Synced repo using 'sync_with_huggingface' Github Action
Browse files- 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
|
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=
|
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 |
|