eagle0504 commited on
Commit
c0ee5c0
1 Parent(s): ce44247

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -183,7 +183,7 @@ if prompt := st.chat_input(initial_input):
183
  arr1 = openai_text_embedding(question)
184
  arr2 = openai_text_embedding(this_content)
185
  # this_score = calculate_sts_openai_score(question, this_content)
186
- this_score = quantized_influence(arr1, arr2)[0]
187
  else:
188
  this_score = 0
189
  independent_ai_judge_score.append(this_score)
 
183
  arr1 = openai_text_embedding(question)
184
  arr2 = openai_text_embedding(this_content)
185
  # this_score = calculate_sts_openai_score(question, this_content)
186
+ this_score = quantized_influence(arr1, arr2, k=3)[0]
187
  else:
188
  this_score = 0
189
  independent_ai_judge_score.append(this_score)