Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -27,9 +27,10 @@ RUN pip install -q einops pytorch_lightning gradio omegaconf xformers==0.0.16 tr
|
|
27 |
# Install open_clip from GitHub
|
28 |
RUN pip install -q git+https://github.com/mlfoundations/open_clip@v2.20.0
|
29 |
|
|
|
30 |
# Update package lists and install aria2 without sudo
|
31 |
-
RUN apt-get update && apt-get install -y
|
32 |
-
|
33 |
|
34 |
# Download checkpoint files using aria2
|
35 |
RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lxq007/DiffBIR/resolve/main/general_full_v1.ckpt -d $HOME/app/models -o general_full_v1.ckpt
|
|
|
27 |
# Install open_clip from GitHub
|
28 |
RUN pip install -q git+https://github.com/mlfoundations/open_clip@v2.20.0
|
29 |
|
30 |
+
USER root
|
31 |
# Update package lists and install aria2 without sudo
|
32 |
+
RUN apt-get update && apt-get install -y aria2
|
33 |
+
USER user
|
34 |
|
35 |
# Download checkpoint files using aria2
|
36 |
RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lxq007/DiffBIR/resolve/main/general_full_v1.ckpt -d $HOME/app/models -o general_full_v1.ckpt
|