BoldActionMan commited on
Commit
722d4db
1 Parent(s): 11031b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -13,6 +13,8 @@ import translators as ts
13
  from melo.api import TTS
14
  from concurrent.futures import ThreadPoolExecutor
15
  import ffmpeg
 
 
16
 
17
  def process_video(video_file, youtube_url, language_choice):
18
  if language_choice == None:
 
13
  from melo.api import TTS
14
  from concurrent.futures import ThreadPoolExecutor
15
  import ffmpeg
16
+ import nltk
17
+ nltk.download('averaged_perceptron_tagger_eng')
18
 
19
  def process_video(video_file, youtube_url, language_choice):
20
  if language_choice == None: