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