Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,15 +10,13 @@ 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):
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
# Insert Local Video File Path
|
| 23 |
videoclip = VideoFileClip(file_obj.name)
|
| 24 |
# Insert Local Audio File Path
|
|
|
|
| 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):
|
| 19 |
+
|
|
|
|
|
|
|
| 20 |
# Insert Local Video File Path
|
| 21 |
videoclip = VideoFileClip(file_obj.name)
|
| 22 |
# Insert Local Audio File Path
|