Update app.py
Browse files
app.py
CHANGED
@@ -61,8 +61,8 @@ def process_segments(segments):
|
|
61 |
|
62 |
# Gradio interface functions
|
63 |
@spaces.GPU
|
64 |
-
def generate_transcript(youtube_url, model_name="
|
65 |
-
path = "downloaded_audio.mp3"
|
66 |
download_youtube_audio(youtube_url, path)
|
67 |
segments = transcribe(path, model_name)
|
68 |
df = process_segments(segments)
|
|
|
61 |
|
62 |
# Gradio interface functions
|
63 |
@spaces.GPU
|
64 |
+
def generate_transcript(youtube_url, model_name="large-v3"):
|
65 |
+
path = "downloaded_audio.mp3.mp3"
|
66 |
download_youtube_audio(youtube_url, path)
|
67 |
segments = transcribe(path, model_name)
|
68 |
df = process_segments(segments)
|