rasyosef commited on
Commit
dc285d8
β€’
1 Parent(s): 5dab495

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,7 +29,7 @@ with gr.Blocks() as demo:
29
  gr.Markdown(
30
  """
31
  # Amharic News Article Classification
32
- This is A finetuned RoBERTa model (xlm-roberta-base) that classifies amharic news articles into one of 6 categories.
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")