Update start_bash.sh
Browse files- start_bash.sh +8 -3
start_bash.sh
CHANGED
|
@@ -19,9 +19,14 @@ pip install --upgrade pip
|
|
| 19 |
echo "Installing PyTorch with CUDA support..."
|
| 20 |
pip install torch==2.1.0 torchaudio==2.1.0 --index-url https://download.pytorch.org/whl/cu118
|
| 21 |
|
| 22 |
-
# Install Audiocraft and other dependencies
|
| 23 |
-
echo "Installing Audiocraft, Gradio, and other dependencies..."
|
| 24 |
-
pip install audiocraft==1.3.0 gradio==4.44.1 numpy==1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
# Create the models directory if it doesn't exist
|
| 27 |
echo "Creating models directory for musicgen-medium..."
|
|
|
|
| 19 |
echo "Installing PyTorch with CUDA support..."
|
| 20 |
pip install torch==2.1.0 torchaudio==2.1.0 --index-url https://download.pytorch.org/whl/cu118
|
| 21 |
|
| 22 |
+
# Install Audiocraft, Gradio, pydub, and other dependencies
|
| 23 |
+
echo "Installing Audiocraft, Gradio, pydub, and other dependencies..."
|
| 24 |
+
pip install audiocraft==1.3.0 gradio==4.44.1 numpy==1.23.5 pydub==0.25.1 psutil==6.1.0
|
| 25 |
+
|
| 26 |
+
# Install ffmpeg for MP3 export
|
| 27 |
+
echo "Installing ffmpeg..."
|
| 28 |
+
sudo apt-get update
|
| 29 |
+
sudo apt-get install -y ffmpeg
|
| 30 |
|
| 31 |
# Create the models directory if it doesn't exist
|
| 32 |
echo "Creating models directory for musicgen-medium..."
|