anchor
commited on
Update entrypoint.sh
Browse files- entrypoint.sh +7 -5
entrypoint.sh
CHANGED
@@ -3,13 +3,15 @@
|
|
3 |
echo "entrypoint.sh"
|
4 |
whoami
|
5 |
which python
|
6 |
-
|
7 |
-
|
8 |
-
# chmod 777 -R /
|
9 |
# Print the contents of the diffusers/src directory
|
10 |
-
echo "Contents of /
|
|
|
|
|
11 |
|
12 |
-
|
13 |
conda activate musev
|
14 |
which python
|
15 |
python app.py
|
|
|
3 |
echo "entrypoint.sh"
|
4 |
whoami
|
5 |
which python
|
6 |
+
export PYTHONPATH=${PYTHONPATH}:/home/user/app/MuseV:/home/user/app/MuseV/MMCM:/home/user/app/MuseV/diffusers/src:/home/user/app/MuseV/controlnet_aux/src
|
7 |
+
echo "pythonpath" $PYTHONPATH
|
8 |
+
# chmod 777 -R /home/user/app/MuseV
|
9 |
# Print the contents of the diffusers/src directory
|
10 |
+
# echo "Contents of /home/user/app/MuseV/diffusers/src:"
|
11 |
+
# Load ~/.bashrc
|
12 |
+
source ~/.bashrc
|
13 |
|
14 |
+
# sh /opt/conda/etc/profile.d/conda.sh
|
15 |
conda activate musev
|
16 |
which python
|
17 |
python app.py
|