eagle0504 commited on
Commit
8ab5c31
1 Parent(s): 9fa3305

additional ai judge updated

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -127,7 +127,6 @@ if prompt := st.chat_input("Tell me about YSA"):
127
  # add ai judge as additional rating
128
  independent_ai_judge_score = []
129
  for i in range(final_ref.shape[0]):
130
- this_quest = question
131
  this_content = final_ref["answers"][i]
132
  this_score = calculate_sts_openai_score(question, this_content)
133
  independent_ai_judge_score.append(this_score)
 
127
  # add ai judge as additional rating
128
  independent_ai_judge_score = []
129
  for i in range(final_ref.shape[0]):
 
130
  this_content = final_ref["answers"][i]
131
  this_score = calculate_sts_openai_score(question, this_content)
132
  independent_ai_judge_score.append(this_score)