Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
|
@@ -35,12 +35,14 @@ RUN pip install --no-cache-dir \
|
|
| 35 |
soundfile \
|
| 36 |
jiwer \
|
| 37 |
num2words \
|
| 38 |
-
regex
|
| 39 |
-
kaldialign==0.11.0
|
| 40 |
|
| 41 |
# Force soundfile backend for datasets audio decoding (avoids torchcodec/FFmpeg issues)
|
| 42 |
ENV HF_AUDIO_DECODER_BACKEND=soundfile
|
| 43 |
|
|
|
|
|
|
|
|
|
|
| 44 |
# Copy the Space contents (run_eval.py, chat_template_default.py, normalizer/)
|
| 45 |
COPY . /app
|
| 46 |
|
|
|
|
| 35 |
soundfile \
|
| 36 |
jiwer \
|
| 37 |
num2words \
|
| 38 |
+
regex
|
|
|
|
| 39 |
|
| 40 |
# Force soundfile backend for datasets audio decoding (avoids torchcodec/FFmpeg issues)
|
| 41 |
ENV HF_AUDIO_DECODER_BACKEND=soundfile
|
| 42 |
|
| 43 |
+
RUN pip install --no-cache-dir --upgrade "kaldialign>=0.12.0" \
|
| 44 |
+
&& python -c "from kaldialign import batch_error_rate; print('kaldialign OK')"
|
| 45 |
+
|
| 46 |
# Copy the Space contents (run_eval.py, chat_template_default.py, normalizer/)
|
| 47 |
COPY . /app
|
| 48 |
|