Update app.py
Browse files
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, "
|
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 != "":
|