Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
|
@@ -10,6 +10,11 @@ RUN git clone https://github.com/s0md3v/roop.git .
|
|
| 10 |
# Install any dependencies
|
| 11 |
RUN pip install -r requirements.txt
|
| 12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
# Expose the port on which the Uvicorn server will run
|
| 14 |
EXPOSE 7860
|
| 15 |
|
|
|
|
| 10 |
# Install any dependencies
|
| 11 |
RUN pip install -r requirements.txt
|
| 12 |
|
| 13 |
+
# Download the ONNX model and organize it
|
| 14 |
+
RUN wget https://huggingface.co/ezioruan/inswapper_128.onnx/resolve/main/inswapper_128.onnx -O inswapper_128.onnx && \
|
| 15 |
+
mkdir models && \
|
| 16 |
+
mv inswapper_128.onnx ./models
|
| 17 |
+
|
| 18 |
# Expose the port on which the Uvicorn server will run
|
| 19 |
EXPOSE 7860
|
| 20 |
|