ruslanmv commited on
Commit
4878c8e
·
1 Parent(s): 779438b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -10,9 +10,9 @@ from moviepy.editor import *
10
  import subprocess
11
  import sys
12
 
13
- #def install(package):
14
- # subprocess.check_call([sys.executable, "-m", "pip", "install", package])
15
- #install("googletrans==4.0.0rc1")
16
 
17
 
18
  def video_to_translate(file_obj,initial_language,final_language):
 
10
  import subprocess
11
  import sys
12
 
13
+ def install(package):
14
+ subprocess.check_call([sys.executable, "-m", "pip", "install", package])
15
+ install("googletrans==4.0.0rc1")
16
 
17
 
18
  def video_to_translate(file_obj,initial_language,final_language):