Merge pull request #770 from muhammedaksam/develop

Update engine_wrapper.py
pull/786/head
Jason 2 years ago committed by GitHub
commit 7ecb77188d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -106,5 +106,6 @@ def process_text(text: str):
new_text = sanitize_text(text)
if lang:
print_substep("Translating Text...")
new_text = ts.google(text, to_language=lang)
translated_text = ts.google(text, to_language=lang)
new_text = sanitize_text(translated_text)
return new_text

Loading…
Cancel
Save