PedroLancharesSanchez commited on
Commit
ec8865e
·
verified ·
1 Parent(s): a018e24

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,4 +37,4 @@ def predict(instancia):
37
  predicted_class_id = logits.argmax().item()
38
  return str(logits.item())
39
 
40
- gr.Interface(fn=predict, inputs=gr.inputs.Textbox(), outputs='text',examples=example).launch(share=False)
 
37
  predicted_class_id = logits.argmax().item()
38
  return str(logits.item())
39
 
40
+ gr.Interface(fn=predict, inputs='text', outputs='text',examples=example).launch(share=False)