Update app.py
Browse files
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
|
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}"
|