Campfireman commited on
Commit
198606c
1 Parent(s): f3a7d98

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def convert_video_to_audio_ffmpeg(video_file, output_ext="mp3"):
27
  return (filename + "." + ext)
28
 
29
  def get_video(url):
30
- if(!validators.url(url)):
31
  notify = "Invalid URL!"
32
  return False
33
  yt = YouTube(url)
 
27
  return (filename + "." + ext)
28
 
29
  def get_video(url):
30
+ if(validators.url(url) == False):
31
  notify = "Invalid URL!"
32
  return False
33
  yt = YouTube(url)