Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,5 +6,5 @@ classifier = pipeline('text-classification', model='el-filatova/clasificador-twe
|
|
| 6 |
def predict(text):
|
| 7 |
return classifier(text)
|
| 8 |
|
| 9 |
-
iface = gr.Interface(fn=predict, inputs="
|
| 10 |
iface.launch()
|
|
|
|
| 6 |
def predict(text):
|
| 7 |
return classifier(text)
|
| 8 |
|
| 9 |
+
iface = gr.Interface(fn=predict, inputs=[gr.inputs.Textbox(default="ah, what a pang of aching sharp surprise")], outputs="text")
|
| 10 |
iface.launch()
|