Update app.py
Browse files
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 = "
|
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
|