new4u commited on
Commit
c7d9204
1 Parent(s): 53e44d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
4
  import yt_dlp as youtube_dl # 用 yt_dlp 代替 pytube
5
  from transformers import pipeline
6
 
7
- MODEL_NAME = "openai/whisper-large-v2"
8
  device = 0 if torch.cuda.is_available() else "cpu"
9
  pipe = pipeline(
10
  task="automatic-speech-recognition",
 
4
  import yt_dlp as youtube_dl # 用 yt_dlp 代替 pytube
5
  from transformers import pipeline
6
 
7
+ MODEL_NAME = "openai/whisper-large-v3"
8
  device = 0 if torch.cuda.is_available() else "cpu"
9
  pipe = pipeline(
10
  task="automatic-speech-recognition",