rockdrigoma commited on
Commit
ea313f9
·
1 Parent(s): ef0fd8d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,3 +1,4 @@
1
  import gradio as gr
2
 
3
- gr.Interface.load("huggingface/hackathon-pln-es/t5-small-spanish-nahuatl", inputs=gr.inputs.Textbox(lines=5, label="Input Text")).launch()
 
 
1
  import gradio as gr
2
 
3
+ formatted_input = "translate Spanish to Nahuatl: " + gr.inputs.Textbox(lines=5, label="Input Text")
4
+ gr.Interface.load("huggingface/hackathon-pln-es/t5-small-spanish-nahuatl", inputs=formatted_input).launch()