From aaf8c66dc146581938de68952b7741fe9648254e 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) --- packages/google-cloud-translate/samples/snippets/snippets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/google-cloud-translate/samples/snippets/snippets.py b/packages/google-cloud-translate/samples/snippets/snippets.py index 1288ae9fc8c0..bd380b724194 100644 --- a/packages/google-cloud-translate/samples/snippets/snippets.py +++ b/packages/google-cloud-translate/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.