File size: 460 Bytes
06e9d12 b33e736 06e9d12 b33e736 06e9d12 b33e736 06e9d12 b33e736 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
#!/bin/bash
echo "entrypoint.sh"
whoami
which python
# Set up Python path
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
echo "pythonpath" $PYTHONPATH
# Activate conda environment
source /opt/conda/etc/profile.d/conda.sh
conda activate musev
# Print Python version and location
which python
python --version
# Run the app
python app_gradio_space.py |