PedroLancharesSanchez commited on
Commit
d0bfbc8
·
verified ·
1 Parent(s): 2515c2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,4 +29,4 @@ def predict(instancia):
29
  predicted_class_id = logits.argmax().item()
30
  return str(logits.item())
31
 
32
- gr.Interface(fn=predict, inputs='select', outputs='text',examples=['grafo1.txt','grafo2.txt']).launch(share=False)
 
29
  predicted_class_id = logits.argmax().item()
30
  return str(logits.item())
31
 
32
+ gr.Interface(fn=predict, inputs=gr.inputs.Textbox(), outputs='text',examples=['grafo1.txt']).launch(share=False)