Spaces:
Runtime error
Runtime error
chore: adding labels to the textbox
Browse files
app.py
CHANGED
@@ -19,8 +19,8 @@ def get_translation(sentence):
|
|
19 |
|
20 |
nmt_space = gr.Interface(
|
21 |
fn=get_translation,
|
22 |
-
inputs="
|
23 |
-
outputs="
|
24 |
)
|
25 |
|
26 |
nmt_space.launch()
|
|
|
19 |
|
20 |
nmt_space = gr.Interface(
|
21 |
fn=get_translation,
|
22 |
+
inputs=gr.Textbox(label="English Sentence"),
|
23 |
+
outputs=gr.Textbox(label="French Sentence"),
|
24 |
)
|
25 |
|
26 |
nmt_space.launch()
|