Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Load your trained model
|
5 |
-
model_path = "
|
6 |
classifier = pipeline("text-classification", model=model_path)
|
7 |
|
8 |
# Map numeric labels to readable form
|
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Load your trained model
|
5 |
+
model_path = "mjpsm/excuses-classification-model"
|
6 |
classifier = pipeline("text-classification", model=model_path)
|
7 |
|
8 |
# Map numeric labels to readable form
|