Update app.py
Browse files
app.py
CHANGED
|
@@ -46,12 +46,13 @@ iface = gr.Interface(
|
|
| 46 |
inputs=gr.Textbox(lines=2, placeholder="Enter a Bangla sentence..."),
|
| 47 |
outputs="text",
|
| 48 |
title="Bangla Sentence Classifier",
|
| 49 |
-
description=(
|
| 50 |
"This model was trained using a curated Bangla dataset by **TextLab RUET**. "
|
| 51 |
"It classifies Bangla sentences into five distinct categories: Assertive, Interrogative, Imperative, Optative, and Exclamatory "
|
| 52 |
-
"using the **XLM-R**
|
| 53 |
-
"
|
| 54 |
-
"
|
|
|
|
| 55 |
),
|
| 56 |
theme="compact"
|
| 57 |
)
|
|
|
|
| 46 |
inputs=gr.Textbox(lines=2, placeholder="Enter a Bangla sentence..."),
|
| 47 |
outputs="text",
|
| 48 |
title="Bangla Sentence Classifier",
|
| 49 |
+
description = (
|
| 50 |
"This model was trained using a curated Bangla dataset by **TextLab RUET**. "
|
| 51 |
"It classifies Bangla sentences into five distinct categories: Assertive, Interrogative, Imperative, Optative, and Exclamatory "
|
| 52 |
+
"using the **XLM-R** (a multilingual transformer model based on the BERT architecture).\n"
|
| 53 |
+
"Enter a Bangla sentence below to see how our model interprets it!\n\n"
|
| 54 |
+
"**Note**: While we strive for accuracy, the model may occasionally misclassify sentences due to dataset limitations. "
|
| 55 |
+
"We apologize for any errors and appreciate your understanding."
|
| 56 |
),
|
| 57 |
theme="compact"
|
| 58 |
)
|