Sanchit2207 commited on
Commit
49c9a25
·
verified ·
1 Parent(s): 60477f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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("text-classification", model="MoritzLaurer/DeBERTa-v3-base-mnli-fever-anli")
 
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 = {