latheefahmed03 commited on
Commit
a190f0a
·
verified ·
1 Parent(s): 24b8a77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ user_input = st.text_input("Enter your query (e.g., coverage for diabetes, best
22
 
23
  if user_input:
24
  # Detect intent using text classification
25
- result = classifier(user_input)
26
  label = result[0]["label"] # Get predicted label
27
 
28
  # Manual mapping (since DeepSeek does not support `candidate_labels`)
 
22
 
23
  if user_input:
24
  # Detect intent using text classification
25
+ result = classifier(user_input) # Now we remove candidate_labels
26
  label = result[0]["label"] # Get predicted label
27
 
28
  # Manual mapping (since DeepSeek does not support `candidate_labels`)