Spaces:
Runtime error
Runtime error
BjarneBepaData
commited on
Commit
•
bb61e6e
1
Parent(s):
c971876
Calling python3
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -20,8 +20,8 @@ WORKDIR /code
|
|
20 |
COPY ./requirements.txt /code/requirements.txt
|
21 |
|
22 |
# Download the models
|
23 |
-
RUN
|
24 |
-
RUN
|
25 |
|
26 |
#
|
27 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
20 |
COPY ./requirements.txt /code/requirements.txt
|
21 |
|
22 |
# Download the models
|
23 |
+
RUN python3 -c 'from transformers import AutoModelForSpeechSeq2Seq; AutoModelForSpeechSeq2Seq.from_pretrained("openai/whisper-large-v3");'
|
24 |
+
RUN python3 -c 'from transformers import AutoProcessor; AutoProcessor.from_pretrained("openai/whisper-large-v3");'
|
25 |
|
26 |
#
|
27 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|