Spaces:
Configuration error
Configuration error
Fedir Zadniprovskyi
commited on
Commit
·
422536c
1
Parent(s):
c2c6908
No longer set `WHISPER__INFERENCE_DEVICE` in Dockerfiles (#113)
Browse files- Dockerfile.cpu +0 -1
- Dockerfile.cuda +0 -1
Dockerfile.cpu
CHANGED
@@ -19,7 +19,6 @@ COPY ./src ./pyproject.toml ./uv.lock ./
|
|
19 |
RUN --mount=type=cache,target=/root/.cache/uv \
|
20 |
uv sync --frozen --extra ui
|
21 |
ENV WHISPER__MODEL=Systran/faster-whisper-small
|
22 |
-
ENV WHISPER__INFERENCE_DEVICE=cpu
|
23 |
ENV UVICORN_HOST=0.0.0.0
|
24 |
ENV UVICORN_PORT=8000
|
25 |
CMD ["uv", "run", "uvicorn", "--factory", "faster_whisper_server.main:create_app"]
|
|
|
19 |
RUN --mount=type=cache,target=/root/.cache/uv \
|
20 |
uv sync --frozen --extra ui
|
21 |
ENV WHISPER__MODEL=Systran/faster-whisper-small
|
|
|
22 |
ENV UVICORN_HOST=0.0.0.0
|
23 |
ENV UVICORN_PORT=8000
|
24 |
CMD ["uv", "run", "uvicorn", "--factory", "faster_whisper_server.main:create_app"]
|
Dockerfile.cuda
CHANGED
@@ -19,7 +19,6 @@ COPY ./src ./pyproject.toml ./uv.lock ./
|
|
19 |
RUN --mount=type=cache,target=/root/.cache/uv \
|
20 |
uv sync --frozen --extra ui
|
21 |
ENV WHISPER__MODEL=Systran/faster-whisper-large-v3
|
22 |
-
ENV WHISPER__INFERENCE_DEVICE=auto
|
23 |
ENV UVICORN_HOST=0.0.0.0
|
24 |
ENV UVICORN_PORT=8000
|
25 |
CMD ["uv", "run", "uvicorn", "--factory", "faster_whisper_server.main:create_app"]
|
|
|
19 |
RUN --mount=type=cache,target=/root/.cache/uv \
|
20 |
uv sync --frozen --extra ui
|
21 |
ENV WHISPER__MODEL=Systran/faster-whisper-large-v3
|
|
|
22 |
ENV UVICORN_HOST=0.0.0.0
|
23 |
ENV UVICORN_PORT=8000
|
24 |
CMD ["uv", "run", "uvicorn", "--factory", "faster_whisper_server.main:create_app"]
|