Spaces:
Build error
Build error
Xabi Ezpeleta
commited on
Commit
·
dd399f2
1
Parent(s):
24d6fae
Change size from large to tiny
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-
|
| 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-tiny-eu-ct2"
|
| 10 |
print("Loading model ...")
|
| 11 |
model = WhisperModel(MODEL_NAME, compute_type=torch_dtype)
|
| 12 |
print("Loading model done.")
|