elizabetvaganova
commited on
Commit
·
977589c
1
Parent(s):
555cb72
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,6 @@ import torch
|
|
4 |
import speech_recognition as sr
|
5 |
from datasets import load_dataset
|
6 |
from transformers import SpeechT5ForTextToSpeech, SpeechT5HifiGan, SpeechT5Processor
|
7 |
-
pip install SpeechRecognition
|
8 |
|
9 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
10 |
|
|
|
4 |
import speech_recognition as sr
|
5 |
from datasets import load_dataset
|
6 |
from transformers import SpeechT5ForTextToSpeech, SpeechT5HifiGan, SpeechT5Processor
|
|
|
7 |
|
8 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
9 |
|