Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,5 +8,5 @@ source_textbox = gr.Textbox(label="Source", info="Source Sentence", value="Le ch
|
|
8 |
translation1_textbox = gr.Textbox(label="Translation 1", info="Translation 1", value="The cat is on the bed.")
|
9 |
translation2_textbox = gr.Textbox(label="Translation 2", info="Translation 2", value="The cat is on the carpet.")
|
10 |
output = gr.Label(label="Result")
|
11 |
-
iface = gr.Interface(fn=
|
12 |
iface.launch()
|
|
|
8 |
translation1_textbox = gr.Textbox(label="Translation 1", info="Translation 1", value="The cat is on the bed.")
|
9 |
translation2_textbox = gr.Textbox(label="Translation 2", info="Translation 2", value="The cat is on the carpet.")
|
10 |
output = gr.Label(label="Result")
|
11 |
+
iface = gr.Interface(fn=predict, inputs=[source_textbox, translation1_textbox, translation2_textbox], outputs=output)
|
12 |
iface.launch()
|