anchor commited on
Commit
cd0afef
·
verified ·
1 Parent(s): fe8496e

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +7 -5
entrypoint.sh CHANGED
@@ -3,13 +3,15 @@
3
  echo "entrypoint.sh"
4
  whoami
5
  which python
6
- # export PYTHONPATH=/root/MuseV:/root/MuseV/MMCM:/root/MuseV/diffusers/src:/root/MuseV/controlnet_aux/src
7
- # echo "pythonpath" $PYTHONPATH
8
- # chmod 777 -R /root/MuseV
9
  # Print the contents of the diffusers/src directory
10
- echo "Contents of /root/MuseV/diffusers/src:"
 
 
11
 
12
- source /opt/conda/etc/profile.d/conda.sh
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