mimbres commited on
Commit
cd1a5bd
·
verified ·
1 Parent(s): d922292

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -79,7 +79,7 @@ def prepare_media(source_path_or_url: os.PathLike,
79
  # try:
80
  with open(log_file, 'w') as lf:
81
  # Try alternative
82
- print(f"Failed with PyTube, error: {e}. Trying yt-dlp...")
83
  audio_file = './downloaded/yt_audio'
84
  # subprocess.run(['yt-dlp', '-x', source_path_or_url, '-f', 'bestaudio',
85
  # '-o', audio_file, '--audio-format', 'mp3', '--restrict-filenames',
 
79
  # try:
80
  with open(log_file, 'w') as lf:
81
  # Try alternative
82
+ # print(f"Failed with PyTube, error: {e}. Trying yt-dlp...")
83
  audio_file = './downloaded/yt_audio'
84
  # subprocess.run(['yt-dlp', '-x', source_path_or_url, '-f', 'bestaudio',
85
  # '-o', audio_file, '--audio-format', 'mp3', '--restrict-filenames',