Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import gradio as gr
|
|
| 4 |
|
| 5 |
|
| 6 |
# Load Hugging Face spam classifier
|
| 7 |
-
classifier = pipeline("text-classification", model="kenbaker-gif/
|
| 8 |
|
| 9 |
# Prediction function
|
| 10 |
def predict_spam(text):
|
|
|
|
| 4 |
|
| 5 |
|
| 6 |
# Load Hugging Face spam classifier
|
| 7 |
+
classifier = pipeline("text-classification", model="kenbaker-gif/African_SMS_Spam_Classifier")
|
| 8 |
|
| 9 |
# Prediction function
|
| 10 |
def predict_spam(text):
|