daniel-rdt commited on
Commit
755f106
1 Parent(s): 81e67a0

translate fix

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def transcribe_url_yt(yt_url):
23
  os.remove(audio)
24
  # text translation
25
  translator = google_translator()
26
- translation = translator.translate(text, src='lt')
27
 
28
  return text, translation, title, thumbnail
29
 
 
23
  os.remove(audio)
24
  # text translation
25
  translator = google_translator()
26
+ translation = translator.translate(text, lang_tgt='en')
27
 
28
  return text, translation, title, thumbnail
29