Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
from transformers import pipeline
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
-
classifier = pipeline("text-classification", model="
|
| 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)",
|