Spaces:
Configuration error
Configuration error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -30,7 +30,7 @@ RUN pip install torchaudio
|
|
30 |
RUN pip install torch --upgrade
|
31 |
RUN pip install torchaudio --upgrade
|
32 |
RUN pip install torchvision
|
33 |
-
RUN pip install -q spaces gradio gradio_imageslider diffusers==0.
|
34 |
RUN pip install -q https://download.pytorch.org/whl/cu121/xformers-0.0.22.post7-cp310-cp310-manylinux2014_x86_64.whl
|
35 |
|
36 |
RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/akhaliq/RetinaFace-R50/resolve/main/RetinaFace-R50.pth -d $HOME/app/annotator/ckpts -o RetinaFace-R50.pth
|
@@ -88,7 +88,7 @@ RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co
|
|
88 |
ENV CUDA_DEVICE_ORDER=PCI_BUS_ID
|
89 |
ENV CUDA_VISIBLE_DEVICES=0
|
90 |
|
91 |
-
COPY
|
92 |
|
93 |
# Run your app.py script
|
94 |
CMD ["python", "app_zero.py"]
|
|
|
30 |
RUN pip install torch --upgrade
|
31 |
RUN pip install torchaudio --upgrade
|
32 |
RUN pip install torchvision
|
33 |
+
RUN pip install -q spaces gradio gradio_imageslider diffusers==0.32.2 accelerate basicsr ultralytics salesforce-lavis webdataset pytorch_lightning
|
34 |
RUN pip install -q https://download.pytorch.org/whl/cu121/xformers-0.0.22.post7-cp310-cp310-manylinux2014_x86_64.whl
|
35 |
|
36 |
RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/akhaliq/RetinaFace-R50/resolve/main/RetinaFace-R50.pth -d $HOME/app/annotator/ckpts -o RetinaFace-R50.pth
|
|
|
88 |
ENV CUDA_DEVICE_ORDER=PCI_BUS_ID
|
89 |
ENV CUDA_VISIBLE_DEVICES=0
|
90 |
|
91 |
+
COPY app_zero.py .
|
92 |
|
93 |
# Run your app.py script
|
94 |
CMD ["python", "app_zero.py"]
|