Spaces:
Running
Running
Xabi Ezpeleta
commited on
Commit
·
24d6fae
1
Parent(s):
58ef98c
Fix model path
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import torch
|
|
6 |
|
7 |
device, torch_dtype = ("cuda", "float32") if torch.cuda.is_available() else ("cpu", "int8")
|
8 |
|
9 |
-
MODEL_NAME = "xezpeleta/whisper-large-v3-eu"
|
10 |
print("Loading model ...")
|
11 |
model = WhisperModel(MODEL_NAME, compute_type=torch_dtype)
|
12 |
print("Loading model done.")
|
|
|
6 |
|
7 |
device, torch_dtype = ("cuda", "float32") if torch.cuda.is_available() else ("cpu", "int8")
|
8 |
|
9 |
+
MODEL_NAME = "xezpeleta/whisper-large-v3-eu-ct2"
|
10 |
print("Loading model ...")
|
11 |
model = WhisperModel(MODEL_NAME, compute_type=torch_dtype)
|
12 |
print("Loading model done.")
|