radames commited on
Commit
ff7e5af
·
1 Parent(s): a1282bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ with block:
13
  text_input = gr.Text()
14
  text_out = gr.Dataframe(headers=["Spells"], datatype=["str"])
15
  btn = gr.Button()
16
- btn.click(fn=predict, text_input, text_out)
17
 
18
  block.launch()
19
 
 
13
  text_input = gr.Text()
14
  text_out = gr.Dataframe(headers=["Spells"], datatype=["str"])
15
  btn = gr.Button()
16
+ btn.click(fn=predict, inputs=text_input, outputs=text_out)
17
 
18
  block.launch()
19