L153 updated
Browse files
app.py
CHANGED
@@ -150,7 +150,8 @@ if prompt := st.chat_input(initial_input):
|
|
150 |
independent_ai_judge_score = []
|
151 |
for i in range(final_ref.shape[0]):
|
152 |
this_content = final_ref["answers"][i]
|
153 |
-
|
|
|
154 |
this_score = calculate_sts_openai_score(question, this_content)
|
155 |
else:
|
156 |
this_score = 0
|
|
|
150 |
independent_ai_judge_score = []
|
151 |
for i in range(final_ref.shape[0]):
|
152 |
this_content = final_ref["answers"][i]
|
153 |
+
st.warning(this_content)
|
154 |
+
if len(this_content) > 3:
|
155 |
this_score = calculate_sts_openai_score(question, this_content)
|
156 |
else:
|
157 |
this_score = 0
|