Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -1,12 +1,3 @@
|
|
1 |
-
# Install necessary packages
|
2 |
-
!pip install transformers==4.49.0
|
3 |
-
!pip install moviepy gTTS requests pydub pillow
|
4 |
-
!pip cache purge
|
5 |
-
!apt-get install imagemagick -y
|
6 |
-
!pip install kokoro>=0.3.4 soundfile
|
7 |
-
!apt-get-qq -y install espeak-ng > /dev/null 2>&1
|
8 |
-
!pip install pysrt
|
9 |
-
!pip install gradio # Added Gradio installation
|
10 |
|
11 |
# Import necessary libraries
|
12 |
from kokoro import KPipeline
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
|
2 |
# Import necessary libraries
|
3 |
from kokoro import KPipeline
|