Spaces:
Sleeping
Sleeping
sotirios-slv
commited on
Commit
·
ed2c947
1
Parent(s):
f24259a
Corrected mis-named whisper model
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ from transformers import AutoModelForSpeechSeq2Seq, AutoProcessor, pipeline
|
|
11 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
12 |
torch_dtype = torch.float16 if torch.cuda.is_available() else torch.float32
|
13 |
|
14 |
-
model_id = "openai/small"
|
15 |
# model_id = "openai/whisper-large-v3"
|
16 |
|
17 |
model = AutoModelForSpeechSeq2Seq.from_pretrained(
|
|
|
11 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
12 |
torch_dtype = torch.float16 if torch.cuda.is_available() else torch.float32
|
13 |
|
14 |
+
model_id = "openai/whisper-small"
|
15 |
# model_id = "openai/whisper-large-v3"
|
16 |
|
17 |
model = AutoModelForSpeechSeq2Seq.from_pretrained(
|