Commit
·
f035c02
1
Parent(s):
77bb503
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,6 +18,7 @@ def classify(text):
|
|
| 18 |
return cls(text)[0]['label']
|
| 19 |
|
| 20 |
gr.Interface(fn=classify, inputs=[gr.inputs.Textbox(
|
|
|
|
| 21 |
label="Texto a analizar:",
|
| 22 |
placeholder="Introduce o elige un ejemplo de twit:",
|
| 23 |
optional=False,
|
|
|
|
| 18 |
return cls(text)[0]['label']
|
| 19 |
|
| 20 |
gr.Interface(fn=classify, inputs=[gr.inputs.Textbox(
|
| 21 |
+
lines=5,
|
| 22 |
label="Texto a analizar:",
|
| 23 |
placeholder="Introduce o elige un ejemplo de twit:",
|
| 24 |
optional=False,
|