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

Update app.py

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