Igmata commited on
Commit
44b8484
·
verified ·
1 Parent(s): c29f97f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,4 +13,4 @@ def predict(txt):
13
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
14
 
15
  # Creamos la interfaz y la lanzamos.
16
- gr.Interface(fn=predict, inputs=gr.Text(), outputs=gr.Label(num_top_classes=4)).launch(share=False)
 
13
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
14
 
15
  # Creamos la interfaz y la lanzamos.
16
+ gr.Interface(fn=predict, inputs=gr.Textbox(lines=5,placeholder="Escribe el tweet aquí"), outputs=gr.Label(num_top_classes=3)).launch(share=False)