Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,7 @@ from huggingface_hub import InferenceClient
|
|
6 |
from audiorecorder import audiorecorder
|
7 |
import speech_recognition as sr
|
8 |
from datasets import load_dataset
|
|
|
9 |
|
10 |
processor = SpeechT5Processor.from_pretrained("microsoft/speecht5_tts")
|
11 |
model = SpeechT5ForTextToSpeech.from_pretrained("microsoft/speecht5_tts")
|
|
|
6 |
from audiorecorder import audiorecorder
|
7 |
import speech_recognition as sr
|
8 |
from datasets import load_dataset
|
9 |
+
import torch
|
10 |
|
11 |
processor = SpeechT5Processor.from_pretrained("microsoft/speecht5_tts")
|
12 |
model = SpeechT5ForTextToSpeech.from_pretrained("microsoft/speecht5_tts")
|