eagle0504 commited on
Commit
72b6b61
·
verified ·
1 Parent(s): 5131bbe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -285,7 +285,7 @@ if prompt := st.chat_input("Tell me about YSA"):
285
  # If the content is a list of questions or not related to the user's question or it says inference endpoint is down, then you should say 0, because it does not answer user's question.
286
  # """
287
  this_score = ai_judge(question, this_content)
288
- independent_ai_judge_score.append(this_score)
289
 
290
  final_ref["ai_judge"] = independent_ai_judge_score
291
 
 
285
  # If the content is a list of questions or not related to the user's question or it says inference endpoint is down, then you should say 0, because it does not answer user's question.
286
  # """
287
  this_score = ai_judge(question, this_content)
288
+ independent_ai_judge_score.append(this_score[0])
289
 
290
  final_ref["ai_judge"] = independent_ai_judge_score
291