devaprobs commited on
Commit
e25301c
·
verified ·
1 Parent(s): d9bb21b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -2,8 +2,7 @@ import streamlit as st
2
  from transformers import pipeline
3
 
4
  # Load the pre-trained model for inference
5
- model_name = "Davlan/bert-base-multilingual-cased-finetuned-amharic"
6
- #model_name = "devaprobs/amharic-hate-speech-detection"
7
  classifier = pipeline("text-classification", model=model_name)
8
 
9
  # Configure the Streamlit page
 
2
  from transformers import pipeline
3
 
4
  # Load the pre-trained model for inference
5
+ model_name = "devaprobs/hate-speech-detection-using-amharic-language"
 
6
  classifier = pipeline("text-classification", model=model_name)
7
 
8
  # Configure the Streamlit page