HemanM commited on
Commit
57ea867
·
verified ·
1 Parent(s): bd0af7a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def ask_evo(question, option1, option2, history, user_vote):
26
  "confidence": result["confidence"],
27
  "reasoning": result["reasoning"],
28
  "context": result["context_used"],
29
- "user_preference": user_vote or ""
30
  }
31
 
32
  # Log feedback
 
26
  "confidence": result["confidence"],
27
  "reasoning": result["reasoning"],
28
  "context": result["context_used"],
29
+ "vote": user_vote or "" # ✅ Must be named 'vote' for retraining
30
  }
31
 
32
  # Log feedback