devaprobs commited on
Commit
62c8d76
·
verified ·
1 Parent(s): f132daa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from transformers import pipeline
3
 
4
  # Load the pre-trained model for inference
5
  model_name = "devaprobs/amharic-hate-speech-detection"
6
- classifier = pipeline("text-classification", model= --base_model model_name)
7
 
8
  # Configure the Streamlit page
9
  st.set_page_config(page_title="Amharic Hate Speech Detector", page_icon="🕵️‍♂️", layout="centered")
 
3
 
4
  # Load the pre-trained model for inference
5
  model_name = "devaprobs/amharic-hate-speech-detection"
6
+ classifier = pipeline("text-classification", model=model_name)
7
 
8
  # Configure the Streamlit page
9
  st.set_page_config(page_title="Amharic Hate Speech Detector", page_icon="🕵️‍♂️", layout="centered")