mirari commited on
Commit
12d5d8b
1 Parent(s): 3bbaf0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,4 +7,4 @@ def predict(frase):
7
  pred, pred_idx, probs = learn.predict(frase)
8
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
9
 
10
- gr.Interface(fn=predict, outputs=gr.outputs.Label(num_top_classes=5), examples=['frase1.txt','frase2.txt2']).launch(share=False)
 
7
  pred, pred_idx, probs = learn.predict(frase)
8
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
9
 
10
+ gr.Interface(fn=predict, examples=['frase1.txt','frase2.txt2']).launch(share=False)