Spaces:
Runtime error
Runtime error
Commit
·
89c5210
1
Parent(s):
d72b807
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def transcript_generator(link,option):
|
|
17 |
transcript += val
|
18 |
|
19 |
translator = google_translator()
|
20 |
-
translation = translator.translate(transcript,
|
21 |
|
22 |
return transcript,translation
|
23 |
|
|
|
17 |
transcript += val
|
18 |
|
19 |
translator = google_translator()
|
20 |
+
translation = translator.translate(transcript, lang_tgt = option).text
|
21 |
|
22 |
return transcript,translation
|
23 |
|