nebiyu29 commited on
Commit
959ecc7
·
verified ·
1 Parent(s): 8ec0711

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
3
 
4
  model_name="nebiyu29/hate_classifier"
5
  tokenizer=AutoTokenizer.from_pretrained(model_name)
6
- model=AutoModelfForSequenceClassification.from_pretrained(model_name)
7
 
8
  #this where the model is active and we need to make the gradiends in active
9
  model.eval()
 
3
 
4
  model_name="nebiyu29/hate_classifier"
5
  tokenizer=AutoTokenizer.from_pretrained(model_name)
6
+ model=AutoModelForSequenceClassification.from_pretrained(model_name)
7
 
8
  #this where the model is active and we need to make the gradiends in active
9
  model.eval()