razhan commited on
Commit
16c671e
·
verified ·
1 Parent(s): 908149a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -213,7 +213,7 @@ def download_yt_audio(yt_url, filename):
213
  # except youtube_dl.utils.DownloadError as err:
214
  # raise gr.Error(str(err))
215
 
216
- file_length = info["duration_string"]
217
  file_length = 60 * 10
218
  file_h_m_s = file_length.split(":")
219
  file_h_m_s = [int(sub_length) for sub_length in file_h_m_s]
 
213
  # except youtube_dl.utils.DownloadError as err:
214
  # raise gr.Error(str(err))
215
 
216
+ # file_length = info["duration_string"]
217
  file_length = 60 * 10
218
  file_h_m_s = file_length.split(":")
219
  file_h_m_s = [int(sub_length) for sub_length in file_h_m_s]