cool commited on
Update Dockerfile
Browse files- Dockerfile +6 -1
Dockerfile
CHANGED
|
@@ -11,11 +11,16 @@ RUN mkdir -p /.local && chmod -R 777 /.local && \
|
|
| 11 |
|
| 12 |
ENV HOME=/app
|
| 13 |
|
| 14 |
-
# Install Kabyle model
|
| 15 |
RUN curl -L -o /app/en_kab_comp.argosmodel \
|
| 16 |
https://huggingface.co/spaces/axxam/LibreTranslate_Kabyle/resolve/main/en_kab_comp.argosmodel && \
|
| 17 |
/app/venv/bin/python3 -c "import argostranslate.package; argostranslate.package.install_from_path('/app/en_kab_comp.argosmodel')"
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
# Install Occitan model
|
| 20 |
RUN curl -L -o /app/translate-en_oc-1_0.argosmodel \
|
| 21 |
https://huggingface.co/spaces/axxam/LibreTranslate_Kabyle/resolve/main/translate-en_oc-1_0.argosmodel && \
|
|
|
|
| 11 |
|
| 12 |
ENV HOME=/app
|
| 13 |
|
| 14 |
+
# Install Kabyle Tasenselkimt model
|
| 15 |
RUN curl -L -o /app/en_kab_comp.argosmodel \
|
| 16 |
https://huggingface.co/spaces/axxam/LibreTranslate_Kabyle/resolve/main/en_kab_comp.argosmodel && \
|
| 17 |
/app/venv/bin/python3 -c "import argostranslate.package; argostranslate.package.install_from_path('/app/en_kab_comp.argosmodel')"
|
| 18 |
|
| 19 |
+
# Install kab-en model
|
| 20 |
+
RUN curl -L -o /app/en_kab_comp.argosmodel \
|
| 21 |
+
https://huggingface.co/spaces/axxam/LibreTranslate_Kabyle/resolve/main/translate-en_kab.argosmodel && \
|
| 22 |
+
/app/venv/bin/python3 -c "import argostranslate.package; argostranslate.package.install_from_path('/app/translate-en_kab.argosmodel')"
|
| 23 |
+
|
| 24 |
# Install Occitan model
|
| 25 |
RUN curl -L -o /app/translate-en_oc-1_0.argosmodel \
|
| 26 |
https://huggingface.co/spaces/axxam/LibreTranslate_Kabyle/resolve/main/translate-en_oc-1_0.argosmodel && \
|