TaiYouWeb commited on
Commit
7c17205
·
verified ·
1 Parent(s): 2277f6c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,10 +22,10 @@ device = "cuda:0" if torch.cuda.is_available() else "cpu"
22
  model_dir = snapshot_download(model_config['model_dir'])
23
 
24
  model = AutoModel(
25
- model="FunAudioLLM/SenseVoiceSmall",
26
  trust_remote_code=False,
27
  remote_code="./model.py",
28
- vad_model="fa-zh",
29
  punc_model="ct-punc",
30
  vad_kwargs={"max_single_segment_time": 15000},
31
  ncpu=torch.get_num_threads(),
 
22
  model_dir = snapshot_download(model_config['model_dir'])
23
 
24
  model = AutoModel(
25
+ model="Whisper-large-v3",
26
  trust_remote_code=False,
27
  remote_code="./model.py",
28
+ vad_model="fsmn-vad",
29
  punc_model="ct-punc",
30
  vad_kwargs={"max_single_segment_time": 15000},
31
  ncpu=torch.get_num_threads(),