Skip to content

Commit

Permalink
fixed examples
Browse files Browse the repository at this point in the history
  • Loading branch information
nidhaloff committed Feb 25, 2022
1 parent 70f6ed6 commit 7216951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/trans.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

english_text = 'happy coding'
chinese_text = '這很好'
translator = GoogleTranslator(source='english', target='german')
translator = GoogleTranslator(source='auto', target='german')
result1 = translator.translate(text=english_text)
result2 = translator.translate(text=chinese_text)

Expand Down

0 comments on commit 7216951

Please # to comment.