titipata commited on
Commit
4f0b801
·
verified ·
1 Parent(s): 7ed450a

Switch Distilled Thonburian Whisper Large instead

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -7,7 +7,8 @@ from transformers import pipeline
7
  from huggingface_hub import model_info
8
 
9
 
10
- MODEL_NAME = "biodatlab/whisper-th-medium-combined" # this always needs to stay in line 8 :D sorry for the hackiness
 
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"