shrushhtijadhav commited on
Commit
19d7e2f
·
verified ·
1 Parent(s): 53cb605

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  from transformers import pipeline
2
  import gradio as gr
3
 
4
- classifier = pipeline("text-classification", model="mrm8488/bert-tiny-finetuned-sms-spam-detection")
5
 
6
  label_map = {
7
  "LABEL_0": "HAM (Not Spam)",
 
1
  from transformers import pipeline
2
  import gradio as gr
3
 
4
+ classifier = pipeline("text-classification", model="bhadresh-savani/bert-base-uncased-emotion")
5
 
6
  label_map = {
7
  "LABEL_0": "HAM (Not Spam)",