7c96d4d
88f6564
fba8bdc |
|
import gradio as gr
prefix = "translate Spanish to Nahuatl: "
gr.Interface.load("huggingface/hackathon-pln-es/t5-small-spanish-nahuatl", inputs=gr.inputs.Textbox(lines=5, label="Input Text"), theme="grass", title='Spanish to Nahuatl Translation').launch()
|