Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,16 +8,17 @@ Original file is located at
|
|
8 |
"""
|
9 |
|
10 |
# Imports
|
11 |
-
install
|
12 |
import PyPDF2
|
13 |
import re
|
14 |
-
install
|
15 |
import transformers
|
16 |
from transformers import pipeline
|
17 |
-
install
|
18 |
from bark import SAMPLE_RATE, generate_audio, preload_models
|
19 |
from scipy.io.wavfile import write as write_wav
|
20 |
from IPython.display import Audio
|
|
|
21 |
import gradio as gr
|
22 |
|
23 |
# Code
|
|
|
8 |
"""
|
9 |
|
10 |
# Imports
|
11 |
+
!pip install PyPDF2
|
12 |
import PyPDF2
|
13 |
import re
|
14 |
+
!pip install transformers
|
15 |
import transformers
|
16 |
from transformers import pipeline
|
17 |
+
!pip install git+https://github.com/suno-ai/bark.git
|
18 |
from bark import SAMPLE_RATE, generate_audio, preload_models
|
19 |
from scipy.io.wavfile import write as write_wav
|
20 |
from IPython.display import Audio
|
21 |
+
!pip install gradio
|
22 |
import gradio as gr
|
23 |
|
24 |
# Code
|