Commit
·
5ee8467
1
Parent(s):
459b579
Update Dockerfile
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
@@ -14,6 +14,11 @@ RUN git lfs install
|
|
14 |
RUN git clone https://huggingface.co/camenduru/pocketsphinx-20.04-t4 pocketsphinx && cd pocketsphinx && cmake -S . -B build && cmake --build build --target install
|
15 |
|
16 |
RUN git clone https://huggingface.co/camenduru/one-shot-talking-face-20.04-t4 one-shot-talking-face && cd one-shot-talking-face && pip install -r requirements.txt && chmod 755 OpenFace/FeatureExtraction
|
|
|
|
|
|
|
|
|
|
|
17 |
RUN mkdir /content/out
|
18 |
|
19 |
COPY app.py /content/app.py
|
|
|
14 |
RUN git clone https://huggingface.co/camenduru/pocketsphinx-20.04-t4 pocketsphinx && cd pocketsphinx && cmake -S . -B build && cmake --build build --target install
|
15 |
|
16 |
RUN git clone https://huggingface.co/camenduru/one-shot-talking-face-20.04-t4 one-shot-talking-face && cd one-shot-talking-face && pip install -r requirements.txt && chmod 755 OpenFace/FeatureExtraction
|
17 |
+
RUN sed -i 's/.cuda()/ /' test_script.py
|
18 |
+
RUN sed -i 's/.cuda()/ /' tools/interface.py
|
19 |
+
RUN sed -i 's/.load(checkpoint_path)/.load(checkpoint_path,map_location='cpu') /' tools/interface.py
|
20 |
+
RUN sed -i 's/.load(audio2pose)/.load(audio2pose,map_location='cpu') /' tools/interface.py
|
21 |
+
|
22 |
RUN mkdir /content/out
|
23 |
|
24 |
COPY app.py /content/app.py
|