Spaces:
Runtime error
Runtime error
Commit
·
0ad1db9
1
Parent(s):
544843e
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,8 @@ import gradio as gr
|
|
3 |
import librosa
|
4 |
from transformers import AutoFeatureExtractor, AutoModelForSeq2SeqLM, AutoTokenizer, pipeline
|
5 |
from TTS.utils.manage import ModelManager
|
|
|
|
|
6 |
|
7 |
first_generation = True
|
8 |
device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
|
|
3 |
import librosa
|
4 |
from transformers import AutoFeatureExtractor, AutoModelForSeq2SeqLM, AutoTokenizer, pipeline
|
5 |
from TTS.utils.manage import ModelManager
|
6 |
+
from TTS.utils.synthesizer import Synthesizer
|
7 |
+
|
8 |
|
9 |
first_generation = True
|
10 |
device = 'cuda' if torch.cuda.is_available() else 'cpu'
|