Ngoufack commited on
Commit
ee3af18
·
1 Parent(s): 5fdc54e
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ def yt_transcribe(yt_url, task, max_filesize=75.0):
77
  html_embed_str = _return_yt_html_embed(yt_url)
78
 
79
  with tempfile.TemporaryDirectory() as tmpdirname:
80
- filepath = os.path.join(tmpdirname, "video.mp3")
81
  download_yt_audio(yt_url, filepath)
82
 
83
  #inputs = ffmpeg_read(inputs, pipe.feature_extractor.sampling_rate)
 
77
  html_embed_str = _return_yt_html_embed(yt_url)
78
 
79
  with tempfile.TemporaryDirectory() as tmpdirname:
80
+ filepath = os.path.join(tmpdirname, "audio.mp3")
81
  download_yt_audio(yt_url, filepath)
82
 
83
  #inputs = ffmpeg_read(inputs, pipe.feature_extractor.sampling_rate)