hf_translation_payload | R Documentation |
This task is well known to translate text from one language to another
hf_translation_payload(string)
string |
a string to be translated in the original languages |
An inference payload
https://huggingface.co/docs/api-inference/detailed_parameters#translation-task
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.