BoldActionMan commited on
Commit
ca4d414
·
verified ·
1 Parent(s): b8db91c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ nltk.download('averaged_perceptron_tagger_eng')
18
 
19
  def process_video(video_file, youtube_url, language_choice):
20
  if language_choice == None:
21
- return None, "Select a language to translate to."
22
  elif video_file == None and youtube_url == "":
23
  return None, "Upload either a video or a valid youtube URL."
24
  elif video_file != None and youtube_url != "":
 
18
 
19
  def process_video(video_file, youtube_url, language_choice):
20
  if language_choice == None:
21
+ return None, "Language not selected."
22
  elif video_file == None and youtube_url == "":
23
  return None, "Upload either a video or a valid youtube URL."
24
  elif video_file != None and youtube_url != "":