Spaces:
Sleeping
Sleeping
update commit id
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -14,7 +14,7 @@ RUN mkdir -pv /app/storage \
|
|
14 |
RUN venv/bin/pip install -r /home/mambauser/bootstrap/requirements-moeflow.txt
|
15 |
# HF does not seem to have layer cache anyway
|
16 |
# (must specify -n base to use installed curl)
|
17 |
-
RUN micromamba run -n base curl -L https://github.com/moeflow-com/manga-image-translator/archive/
|
18 |
# NOTE for unknown reason we need to download here. or there will be runtime file permission error
|
19 |
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
|
20 |
CMD venv/bin/python gradio-multi.py
|
|
|
14 |
RUN venv/bin/pip install -r /home/mambauser/bootstrap/requirements-moeflow.txt
|
15 |
# HF does not seem to have layer cache anyway
|
16 |
# (must specify -n base to use installed curl)
|
17 |
+
RUN micromamba run -n base curl -L https://github.com/moeflow-com/manga-image-translator/archive/d4c8402f503719b14432cc4831305a0e810cdc2d.tar.gz | tar xvz --strip-components=1
|
18 |
# NOTE for unknown reason we need to download here. or there will be runtime file permission error
|
19 |
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
|
20 |
CMD venv/bin/python gradio-multi.py
|