Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
|
11 |
|
12 |
# load speech translation checkpoint
|
13 |
|
14 |
-
asr_pipe = pipeline("automatic-speech-recognition", model="openai/whisper-
|
15 |
|
16 |
# load text-to-speech checkpoint and speaker embeddings
|
17 |
processor = SpeechT5Processor.from_pretrained("sanchit-gandhi/speecht5_tts_vox_nl")
|
|
|
11 |
|
12 |
# load speech translation checkpoint
|
13 |
|
14 |
+
asr_pipe = pipeline("automatic-speech-recognition", model="openai/whisper-base", device=device)
|
15 |
|
16 |
# load text-to-speech checkpoint and speaker embeddings
|
17 |
processor = SpeechT5Processor.from_pretrained("sanchit-gandhi/speecht5_tts_vox_nl")
|