Spaces:
Sleeping
Sleeping
Arseniy Savin commited on
Commit ·
4c88453
1
Parent(s): 1ecbdb7
Update CMD in Dockerfile to include real-time printing for Whisper.cpp server
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -31,4 +31,4 @@ WORKDIR /app
|
|
| 31 |
COPY --from=builder /build/whisper.cpp/build/ /build/whisper.cpp/build/
|
| 32 |
COPY --from=builder /build/whisper.cpp/models/ ./models/
|
| 33 |
|
| 34 |
-
CMD ["/bin/sh", "-c", "THREADS=$(nproc) && PROCESSORS=$(nproc) && echo \"Using $THREADS threads and $PROCESSORS processors
|
|
|
|
| 31 |
COPY --from=builder /build/whisper.cpp/build/ /build/whisper.cpp/build/
|
| 32 |
COPY --from=builder /build/whisper.cpp/models/ ./models/
|
| 33 |
|
| 34 |
+
CMD ["/bin/sh", "-c", "THREADS=$(nproc) && PROCESSORS=$(nproc) && echo \"Using $THREADS threads and $PROCESSORS processors\" && exec /build/whisper.cpp/build/bin/whisper-server -m /app/models/ggml-tiny.en.bin --host 0.0.0.0 --port 8080 -t $THREADS -p $PROCESSORS --convert --print-realtime"]
|