Skip to content

Commit d6ff2e5

Browse files
authored
fix(docker): update whisper model in demo image (#18)
1 parent 70368f8 commit d6ff2e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile.demo

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -497,9 +497,9 @@ COPY --chown=app:app samples/audio/system/*.opus samples/audio/system/*.opus.lic
497497
# so the shipped samples work without bundling multiple Whisper models.
498498
RUN find /opt/streamkit/samples/pipelines -type f \( -name '*.yml' -o -name '*.yaml' \) -print0 | \
499499
xargs -0 sed -i \
500-
-e 's#models/ggml-base\\.en-q5_1\\.bin#models/ggml-tiny-q5_1.bin#g' \
501-
-e 's#models/ggml-tiny\\.en-q5_1\\.bin#models/ggml-tiny-q5_1.bin#g' \
502-
-e 's#models/ggml-base-q5_1\\.bin#models/ggml-tiny-q5_1.bin#g' && \
500+
-e 's#models/ggml-base\.en-q5_1\.bin#models/ggml-tiny-q5_1.bin#g' \
501+
-e 's#models/ggml-tiny\.en-q5_1\.bin#models/ggml-tiny-q5_1.bin#g' \
502+
-e 's#models/ggml-base-q5_1\.bin#models/ggml-tiny-q5_1.bin#g' && \
503503
rm -f \
504504
/opt/streamkit/samples/pipelines/oneshot/speech_to_text_translate.yml \
505505
/opt/streamkit/samples/pipelines/oneshot/gain_filter_rust.yml \

0 commit comments

Comments
 (0)