Spaces:
Runtime error
Runtime error
Matthijs Hollemans
commited on
Commit
β’
8c4b2d8
1
Parent(s):
68d7e43
change checkpoint
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import torch
|
|
5 |
from transformers import SpeechT5Processor, SpeechT5ForSpeechToText
|
6 |
|
7 |
|
8 |
-
checkpoint = "
|
9 |
processor = SpeechT5Processor.from_pretrained(checkpoint)
|
10 |
model = SpeechT5ForSpeechToText.from_pretrained(checkpoint)
|
11 |
|
|
|
5 |
from transformers import SpeechT5Processor, SpeechT5ForSpeechToText
|
6 |
|
7 |
|
8 |
+
checkpoint = "microsoft/speecht5_asr"
|
9 |
processor = SpeechT5Processor.from_pretrained(checkpoint)
|
10 |
model = SpeechT5ForSpeechToText.from_pretrained(checkpoint)
|
11 |
|