Skip to content

Commit

Permalink
Changes default model to premium [(#749)](#749)
Browse files Browse the repository at this point in the history
  • Loading branch information
gguuss authored and danoscarmike committed Jul 31, 2020
1 parent 33a7bf9 commit 838b419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion translation/samples/snippets/snippets.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def list_languages_with_target(target):
print(u'{name} ({language})'.format(**language))


def translate_text_with_model(target, text, model=translate.BASE):
def translate_text_with_model(target, text, model=translate.NMT):
"""Translates text into the target language.
Make sure your project is whitelisted.
Expand Down

0 comments on commit 838b419

Please sign in to comment.