Skip to content

Commit

Permalink
Changes default model to premium [(#749)](GoogleCloudPlatform/python-…
Browse files Browse the repository at this point in the history
  • Loading branch information
gguuss authored and danoscarmike committed Jul 31, 2020
1 parent 3821abc commit aaf8c66
Showing 1 changed file with 1 addition and 1 deletion.
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 aaf8c66

Please sign in to comment.