Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,6 +10,8 @@ from whisper.utils import write_vtt
|
|
10 |
|
11 |
model = whisper.load_model("medium")
|
12 |
|
|
|
|
|
13 |
def video2mp3(video_file, output_ext="mp3"):
|
14 |
filename, ext = os.path.splitext(video_file)
|
15 |
subprocess.call(["ffmpeg", "-y", "-i", video_file, f"{filename}.{output_ext}"],
|
|
|
10 |
|
11 |
model = whisper.load_model("medium")
|
12 |
|
13 |
+
title = "Add Text/Caption to your YouTube Shorts - MultiLingual"
|
14 |
+
|
15 |
def video2mp3(video_file, output_ext="mp3"):
|
16 |
filename, ext = os.path.splitext(video_file)
|
17 |
subprocess.call(["ffmpeg", "-y", "-i", video_file, f"{filename}.{output_ext}"],
|