Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,8 +13,8 @@ def classify_text(text):
|
|
| 13 |
|
| 14 |
iface = gr.Interface(
|
| 15 |
fn=classify_text,
|
| 16 |
-
inputs=gr.
|
| 17 |
-
outputs=gr.
|
| 18 |
live=True,
|
| 19 |
title="Multilingual Text Classification",
|
| 20 |
description="Classify text into categories using BERT-based model.",
|
|
|
|
| 13 |
|
| 14 |
iface = gr.Interface(
|
| 15 |
fn=classify_text,
|
| 16 |
+
inputs=gr.components.Textbox(label="Input Text"),
|
| 17 |
+
outputs=gr.components.Textbox(label="Classification Result"),
|
| 18 |
live=True,
|
| 19 |
title="Multilingual Text Classification",
|
| 20 |
description="Classify text into categories using BERT-based model.",
|