ibraheemmoosa commited on
Commit
cae2767
·
verified ·
1 Parent(s): 93e15af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=greet, inputs=[source_textbox, translation1_textbox, translation2_textbox], outputs=output)
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()