rockdrigoma commited on
Commit
70b80c1
·
verified ·
1 Parent(s): bbbe7a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -113,9 +113,9 @@ hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN, "spanish-nahuatl-flagging")
113
 
114
  gr.Interface(
115
  fn=predict,
116
- inputs=gr.inputs.Textbox(lines=1, label="Input Text in Spanish"),
117
  outputs=[
118
- gr.outputs.Textbox(label="Translated text in Nahuatl"),
119
  ],
120
  theme="peach",
121
  title='🌽 Spanish to Nahuatl Automatic Translation',
 
113
 
114
  gr.Interface(
115
  fn=predict,
116
+ inputs=gr.Components.Textbox(lines=1, label="Input Text in Spanish"),
117
  outputs=[
118
+ gr.Components.Textbox(label="Translated text in Nahuatl"),
119
  ],
120
  theme="peach",
121
  title='🌽 Spanish to Nahuatl Automatic Translation',