Update app.py
Browse files
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.
|
117 |
outputs=[
|
118 |
-
gr.
|
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',
|