Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -54,6 +54,7 @@ def video_to_translate(file_obj,initial_language,final_language):
|
|
54 |
# init the Google API translator
|
55 |
translator = Translator()
|
56 |
print("-----------Step 2-----------")
|
|
|
57 |
translation = translator.translate(text, dest=lang)
|
58 |
print("-----------Step 3-----------")
|
59 |
#translation.text
|
|
|
54 |
# init the Google API translator
|
55 |
translator = Translator()
|
56 |
print("-----------Step 2-----------")
|
57 |
+
print("text=",text)
|
58 |
translation = translator.translate(text, dest=lang)
|
59 |
print("-----------Step 3-----------")
|
60 |
#translation.text
|