jmanhype
commited on
Commit
Β·
d459533
1
Parent(s):
6fe313c
Fix diffusers installation and PYTHONPATH
Browse files- 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 &&
|
|
|
|
|
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
|
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 |
|