archit11 commited on
Commit
1fca56e
·
verified ·
1 Parent(s): cb23e1b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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="distil-large-v3"):
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)