Created
April 13, 2021 17:57
-
-
Save davidmezzetti/b05b49c1fd21f6cac3cf463552c889da to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from txtai.pipeline import Translation | |
# Create translation model | |
translate = Translation() | |
translate("This is a test translation into Spanish", "es") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment