Skip to content

Commit

Permalink
Changes default model to premium [(#749)](#749)
Browse files Browse the repository at this point in the history
  • Loading branch information
gguuss authored and dandhlee committed Nov 18, 2022
1 parent e635ca1 commit 29f2855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion translation/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 29f2855

Please sign in to comment.