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

Commit 097e78a

Browse files
gguussdanoscarmike
authored andcommitted
Changes default model to premium [(#749)](GoogleCloudPlatform/python-docs-samples#749)
1 parent 6b65750 commit 097e78a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/snippets/snippets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def list_languages_with_target(target):
6363
print(u'{name} ({language})'.format(**language))
6464

6565

66-
def translate_text_with_model(target, text, model=translate.BASE):
66+
def translate_text_with_model(target, text, model=translate.NMT):
6767
"""Translates text into the target language.
6868
6969
Make sure your project is whitelisted.

0 commit comments

Comments
 (0)