Spaces:
Sleeping
Sleeping
Switch Distilled Thonburian Whisper Large instead
Browse files
app.py
CHANGED
@@ -7,7 +7,8 @@ from transformers import pipeline
|
|
7 |
from huggingface_hub import model_info
|
8 |
|
9 |
|
10 |
-
|
|
|
11 |
lang = "th"
|
12 |
|
13 |
device = 0 if torch.cuda.is_available() else "cpu"
|
|
|
7 |
from huggingface_hub import model_info
|
8 |
|
9 |
|
10 |
+
# See available models at https://github.com/biodatlab/thonburian-whisper
|
11 |
+
MODEL_NAME = "biodatlab/distill-whisper-th-large-v3" # specify the model name here
|
12 |
lang = "th"
|
13 |
|
14 |
device = 0 if torch.cuda.is_available() else "cpu"
|