Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,4 +12,6 @@ def classify(text, labels):
|
|
12 |
|
13 |
in_text = grad.Textbox(lines=1, label="English", placeholder="Text to be classified")
|
14 |
in_labels = grad.Textbox(lines=1, label="Labels", placeholder="Comma separated labels")
|
15 |
-
out = grad.Textbox(lines=1,
|
|
|
|
|
|
12 |
|
13 |
in_text = grad.Textbox(lines=1, label="English", placeholder="Text to be classified")
|
14 |
in_labels = grad.Textbox(lines=1, label="Labels", placeholder="Comma separated labels")
|
15 |
+
out = grad.Textbox(lines=1, label="Classification")
|
16 |
+
|
17 |
+
grad.Interface(classify, inputs=[in_text, in_labels], outputs=out).launch()
|