Spaces:
Runtime error
Runtime error
Commit
·
ae4b30a
1
Parent(s):
3fbc115
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,6 @@ def classify(text):
|
|
| 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,
|
|
|
|
| 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,
|