jmanhype commited on
Commit
f66f834
Β·
1 Parent(s): d459533

Fix diffusers installation by installing from PyPI first

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -42,17 +42,17 @@ RUN . /opt/conda/etc/profile.d/conda.sh && \
42
  "transformers>=4.30.2" \
43
  "accelerate>=0.20.3" \
44
  "gradio>=4.12.0" \
 
45
  spaces && \
46
  cd /home/user/app/MMCM && pip install -e . && \
47
  cd /home/user/app/diffusers && \
48
- pip uninstall -y diffusers && \
49
- pip install -e . && \
50
  cd /home/user/app/controlnet_aux && pip install -e .
51
 
52
  RUN echo "source activate musev" >> ~/.bashrc
53
 
54
  # Set up Python path
55
- ENV PYTHONPATH=/home/user/app/MuseV:/home/user/app/MMCM:/home/user/app/diffusers:/home/user/app/controlnet_aux/src
56
 
57
  WORKDIR /home/user/app/MuseV/scripts/gradio/
58
 
 
42
  "transformers>=4.30.2" \
43
  "accelerate>=0.20.3" \
44
  "gradio>=4.12.0" \
45
+ "diffusers==0.21.4" \
46
  spaces && \
47
  cd /home/user/app/MMCM && pip install -e . && \
48
  cd /home/user/app/diffusers && \
49
+ pip install --no-deps -e . && \
 
50
  cd /home/user/app/controlnet_aux && pip install -e .
51
 
52
  RUN echo "source activate musev" >> ~/.bashrc
53
 
54
  # Set up Python path
55
+ ENV PYTHONPATH=/home/user/app/MuseV:/home/user/app/MMCM:/home/user/app/diffusers/src:/home/user/app/controlnet_aux/src
56
 
57
  WORKDIR /home/user/app/MuseV/scripts/gradio/
58