Kryptone commited on
Commit
da2abf1
·
1 Parent(s): 8a0d010

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -164,7 +164,7 @@ def all_in_one_inator(ytvideo, download_yt_video_as, min_duration, max_duration,
164
  progress(0, "Downloading video...")
165
  yt = YouTube(ytvideo)
166
  except pytube.exceptions.RegexMatchError:
167
- raise gr.Error("URL no valid or was left empty! Please fix the link or enter one.")
168
  video = yt.streams.get_highest_resolution()
169
  video.download()
170
  video_path = f"{video.default_filename}"
 
164
  progress(0, "Downloading video...")
165
  yt = YouTube(ytvideo)
166
  except pytube.exceptions.RegexMatchError:
167
+ raise gr.Error("URL not valid or was left empty! Please fix the link or enter one.")
168
  video = yt.streams.get_highest_resolution()
169
  video.download()
170
  video_path = f"{video.default_filename}"