Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

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 6b65750 commit 097e78a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 097e78a

Please sign in to comment.