salomonsky commited on
Commit
cafffb0
·
verified ·
1 Parent(s): 894a780

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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")