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

Fix diffusers installation and PYTHONPATH

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -44,13 +44,15 @@ RUN . /opt/conda/etc/profile.d/conda.sh && \
44
  "gradio>=4.12.0" \
45
  spaces && \
46
  cd /home/user/app/MMCM && pip install -e . && \
47
- cd /home/user/app/diffusers && pip install -e . && \
 
 
48
  cd /home/user/app/controlnet_aux && pip install -e .
49
 
50
  RUN echo "source activate musev" >> ~/.bashrc
51
 
52
  # Set up Python path
53
- ENV PYTHONPATH=/home/user/app/MuseV:/home/user/app/MMCM:/home/user/app/diffusers/src:/home/user/app/controlnet_aux/src
54
 
55
  WORKDIR /home/user/app/MuseV/scripts/gradio/
56
 
 
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