Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,8 @@ from transformers import pipeline, AutoTokenizer, AutoModelForCausalLM
|
|
3 |
import torch
|
4 |
|
5 |
# ---------------- Agent 1: Intent Classifier ----------------
|
6 |
-
intent_classifier = pipeline("
|
|
|
7 |
|
8 |
def detect_intent(text):
|
9 |
labels = {
|
|
|
3 |
import torch
|
4 |
|
5 |
# ---------------- Agent 1: Intent Classifier ----------------
|
6 |
+
intent_classifier = pipeline("zero-shot-classification", model="MoritzLaurer/DeBERTa-v3-base-mnli-fever-anli")
|
7 |
+
|
8 |
|
9 |
def detect_intent(text):
|
10 |
labels = {
|