File size: 257 Bytes
7c96d4d
 
88f6564
fba8bdc
1
2
3
4
5
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()