Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +2 -15
Dockerfile
CHANGED
@@ -27,21 +27,8 @@ 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/[email protected]
|
29 |
|
30 |
-
#
|
31 |
-
|
32 |
-
RUN apt-get update && apt-get install -y sudo wget libgl1-mesa-glx && \
|
33 |
-
wget https://github.com/aria2/aria2/releases/download/release-1.36.0/aria2-1.36.0.tar.gz && \
|
34 |
-
tar -xzvf aria2-1.36.0.tar.gz && \
|
35 |
-
cd aria2-1.36.0 && \
|
36 |
-
./configure && \
|
37 |
-
make && \
|
38 |
-
make install && \
|
39 |
-
cd .. && \
|
40 |
-
rm -rf aria2-1.36.0 && \
|
41 |
-
rm aria2-1.36.0.tar.gz
|
42 |
-
|
43 |
-
# Switch back to the "user" user
|
44 |
-
USER user
|
45 |
|
46 |
# Download checkpoint files using aria2
|
47 |
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/[email protected]
|
29 |
|
30 |
+
# Install aria2 for downloading files
|
31 |
+
RUN apt-get update && apt-get install -y aria2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
# Download checkpoint files using aria2
|
34 |
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
|