Spaces:
Running
Running
update revision
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -9,7 +9,7 @@ RUN mkdir -pv /app \
|
|
9 |
RUN venv/bin/pip install -r /home/mambauser/bootstrap/requirements-moeflow.txt
|
10 |
# HF does not seem to have layer cache anyway
|
11 |
# (must specify -n base to use installed curl)
|
12 |
-
RUN micromamba run -n base curl -L https://github.com/moeflow-com/manga-image-translator/archive/
|
13 |
# NOTE for unknown reason we need to download here. or there will be runtime file permission error
|
14 |
RUN venv/bin/python docker_prepare.py --models ocr.48px,ocr.48px_ctc,ocr.32px,ocr.mocr,detector.default,detector.ctd,detector.craft,detector.none
|
15 |
CMD venv/bin/python gradio-multi.py
|
|
|
9 |
RUN venv/bin/pip install -r /home/mambauser/bootstrap/requirements-moeflow.txt
|
10 |
# HF does not seem to have layer cache anyway
|
11 |
# (must specify -n base to use installed curl)
|
12 |
+
RUN micromamba run -n base curl -L https://github.com/moeflow-com/manga-image-translator/archive/38b21435bc547ee09064bf86bd5ae9e001221ad6.tar.gz | tar xvz --strip-components=1
|
13 |
# NOTE for unknown reason we need to download here. or there will be runtime file permission error
|
14 |
RUN venv/bin/python docker_prepare.py --models ocr.48px,ocr.48px_ctc,ocr.32px,ocr.mocr,detector.default,detector.ctd,detector.craft,detector.none
|
15 |
CMD venv/bin/python gradio-multi.py
|