Spaces:
riteshrm
/
Runtime error

fffiloni commited on
Commit
ad883e4
1 Parent(s): d929c2c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -2
Dockerfile CHANGED
@@ -26,8 +26,12 @@ WORKDIR $HOME/app
26
 
27
  # Clone your repository or add your code to the container
28
  RUN git clone -b main https://github.com/fffiloni/PASD $HOME/app
29
- RUN pip install torchvision==0.15.2 torchaudio==2.0.2
30
- RUN pip install -q gradio gradio_imageslider diffusers==0.21.4 accelerate basicsr ultralytics salesforce-lavis webdataset pytorch_lightning
 
 
 
 
31
  RUN pip install -q https://download.pytorch.org/whl/cu121/xformers-0.0.22.post7-cp310-cp310-manylinux2014_x86_64.whl
32
 
33
  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
 
26
 
27
  # Clone your repository or add your code to the container
28
  RUN git clone -b main https://github.com/fffiloni/PASD $HOME/app
29
+ RUN pip uninstall torchaudio
30
+ RUN pip install torchaudio
31
+ RUN pip install torch --upgrade
32
+ RUN pip install torchaudio --upgrade
33
+ RUN pip install torchvision
34
+ RUN pip install -q gradio gradio_imageslider diffusers accelerate basicsr ultralytics salesforce-lavis webdataset pytorch_lightning
35
  RUN pip install -q https://download.pytorch.org/whl/cu121/xformers-0.0.22.post7-cp310-cp310-manylinux2014_x86_64.whl
36
 
37
  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