resolverkatla commited on
Commit
d2faca8
·
1 Parent(s): ffe55c8
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from transformers import pipeline
3
 
4
  # Load the spam classifier model
5
- classifier = pipeline("text-classification", model="dima806/email-spam-detection-roberta")
6
 
7
  def spam_detector(text):
8
  result = classifier(text)
 
2
  from transformers import pipeline
3
 
4
  # Load the spam classifier model
5
+ classifier = pipeline("text-classification", model="mrm8488/bert-tiny-finetuned-sms-spam-detection")
6
 
7
  def spam_detector(text):
8
  result = classifier(text)