StevenChen16 commited on
Commit
642b6c2
·
1 Parent(s): 5855353

change model into large-v3

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  import whisperx
3
 
4
  # 加载WhisperX模型
5
- model = whisperx.load_model("base", device="cpu") # 如果有GPU,可将"cpu"改为"cuda"
6
 
7
  def transcribe(audio_path):
8
  # 使用WhisperX进行转录
 
2
  import whisperx
3
 
4
  # 加载WhisperX模型
5
+ model = whisperx.load_model("large-v3", device="cpu") # 如果有GPU,可将"cpu"改为"cuda"
6
 
7
  def transcribe(audio_path):
8
  # 使用WhisperX进行转录