Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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-
|
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",
|