eagle0504 commited on
Commit
0cc585c
1 Parent(s): 8945c2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -286,7 +286,7 @@ if prompt := st.chat_input("Tell me about YSA"):
286
  # 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.
287
  # """
288
  this_score = ai_judge(question, this_content)
289
- independent_ai_judge_score.append(this_score[0])
290
 
291
  final_ref["ai_judge"] = independent_ai_judge_score
292
 
 
286
  # 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.
287
  # """
288
  this_score = ai_judge(question, this_content)
289
+ independent_ai_judge_score.append(this_score)
290
 
291
  final_ref["ai_judge"] = independent_ai_judge_score
292