Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -24,9 +24,10 @@ RUN pip install -q torchaudio==0.11.0 torchmetrics==0.11.4
|
|
24 |
RUN pip install -q huggingface_hub
|
25 |
|
26 |
WORKDIR /root/piper/src/python
|
27 |
-
COPY
|
28 |
RUN python3 download-model.py
|
29 |
RUN python3 -m piper_train.export_onnx model.ckpt ${MODELNAME}.onnx
|
30 |
RUN mv config.json ${MODELNAME}.onnx.json
|
31 |
RUN ls
|
|
|
32 |
RUN sleep 1000
|
|
|
24 |
RUN pip install -q huggingface_hub
|
25 |
|
26 |
WORKDIR /root/piper/src/python
|
27 |
+
COPY *.py .
|
28 |
RUN python3 download-model.py
|
29 |
RUN python3 -m piper_train.export_onnx model.ckpt ${MODELNAME}.onnx
|
30 |
RUN mv config.json ${MODELNAME}.onnx.json
|
31 |
RUN ls
|
32 |
+
RUN python3 upload-onnx.py
|
33 |
RUN sleep 1000
|