Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ with gr.Blocks() as demo:
|
|
29 |
gr.Markdown(
|
30 |
"""
|
31 |
# Amharic News Article Classification
|
32 |
-
This
|
33 |
- ααα α αα αα (Local News)
|
34 |
- αααα (Entertainment)
|
35 |
- α΅ααα΅ (Sports)
|
@@ -41,7 +41,7 @@ with gr.Blocks() as demo:
|
|
41 |
|
42 |
with gr.Row():
|
43 |
with gr.Column():
|
44 |
-
input = gr.Textbox(label="Amharic text")
|
45 |
classify_btn = gr.Button(value="Classify")
|
46 |
with gr.Column():
|
47 |
output = gr.Textbox(label="Predicted class")
|
|
|
29 |
gr.Markdown(
|
30 |
"""
|
31 |
# Amharic News Article Classification
|
32 |
+
This RoBERTa model (xlm-roberta-base) was finetuned using Low-Rank Adaptation (LoRA) that classifies amharic news articles into one of the following 6 categories.
|
33 |
- ααα α αα αα (Local News)
|
34 |
- αααα (Entertainment)
|
35 |
- α΅ααα΅ (Sports)
|
|
|
41 |
|
42 |
with gr.Row():
|
43 |
with gr.Column():
|
44 |
+
input = gr.Textbox(label="Amharic text", placeholder="Enter text here", lines=3)
|
45 |
classify_btn = gr.Button(value="Classify")
|
46 |
with gr.Column():
|
47 |
output = gr.Textbox(label="Predicted class")
|