andersonquizhpe commited on
Commit
3fbc115
·
1 Parent(s): c9c5271

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -18,11 +18,10 @@ def classify(text):
18
  return cls(text)[0]['label']
19
 
20
  gr.Interface(fn=classify, inputs=[gr.inputs.Textbox(
21
- lines=10,
22
  label="Texto a analizar:",
23
  placeholder="Introduce o elige un ejemplo de twit:",
24
  optional=False,
25
- required,
26
  )], outputs=[gr.outputs.Textbox(label="Predicción"),
27
  ], description=main_title,
28
  examples=examples,
 
18
  return cls(text)[0]['label']
19
 
20
  gr.Interface(fn=classify, inputs=[gr.inputs.Textbox(
21
+ Required,
22
  label="Texto a analizar:",
23
  placeholder="Introduce o elige un ejemplo de twit:",
24
  optional=False,
 
25
  )], outputs=[gr.outputs.Textbox(label="Predicción"),
26
  ], description=main_title,
27
  examples=examples,