simonl0909 commited on
Commit
08dac26
1 Parent(s): fa2fb23

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,8 +5,8 @@ import pytube as pt
5
  from transformers import pipeline
6
  from huggingface_hub import model_info
7
 
8
- MODEL_NAME = "openai/whisper-small" #this always needs to stay in line 8 :D sorry for the hackiness
9
- lang = "en"
10
 
11
  device = 0 if torch.cuda.is_available() else "cpu"
12
  pipe = pipeline(
 
5
  from transformers import pipeline
6
  from huggingface_hub import model_info
7
 
8
+ MODEL_NAME = "simonl0909/whisper-large-v2-cantonese" #this always needs to stay in line 8 :D sorry for the hackiness
9
+ lang = "zh"
10
 
11
  device = 0 if torch.cuda.is_available() else "cpu"
12
  pipe = pipeline(