Update Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
@@ -48,6 +48,12 @@ RUN curl -L -o /app/en_oc-1_3.argosmodel \
|
|
48 |
ls -lh /app/en_oc-1_3.argosmodel && \
|
49 |
/app/venv/bin/python3 -c "import argostranslate.package; argostranslate.package.install_from_path('/app/en_oc-1_3.argosmodel')"
|
50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
# Install English to French model
|
52 |
RUN curl -L -o /app/en_fr.argosmodel \
|
53 |
https://argos-net.com/v1/translate-en_fr-1_9.argosmodel && \
|
|
|
48 |
ls -lh /app/en_oc-1_3.argosmodel && \
|
49 |
/app/venv/bin/python3 -c "import argostranslate.package; argostranslate.package.install_from_path('/app/en_oc-1_3.argosmodel')"
|
50 |
|
51 |
+
# Install English to Breton OPUS model
|
52 |
+
RUN curl -L -o /app/opus-en_br-1_0.argosmodel \
|
53 |
+
https://huggingface.co/spaces/axxam/LibreTranslate_Kabyle/resolve/main/opus-en_br-1_0.argosmodel && \
|
54 |
+
ls -lh /app/opus-en_br-1_0.argosmodel && \
|
55 |
+
/app/venv/bin/python3 -c "import argostranslate.package; argostranslate.package.install_from_path('/app/opus-en_br-1_0.argosmodel')"
|
56 |
+
|
57 |
# Install English to French model
|
58 |
RUN curl -L -o /app/en_fr.argosmodel \
|
59 |
https://argos-net.com/v1/translate-en_fr-1_9.argosmodel && \
|