From 29f28554eb59509c8a0251710cae12d91bd27ad1 Mon Sep 17 00:00:00 2001 From: Gus Class Date: Fri, 6 Jan 2017 09:28:45 -0800 Subject: [PATCH] Changes default model to premium [(#749)](https://github.com/GoogleCloudPlatform/python-docs-samples/issues/749) --- translation/samples/snippets/snippets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translation/samples/snippets/snippets.py b/translation/samples/snippets/snippets.py index 1288ae9fc8c0..bd380b724194 100644 --- a/translation/samples/snippets/snippets.py +++ b/translation/samples/snippets/snippets.py @@ -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.