Spaces:
Sleeping
Sleeping
Update telcom_core.py
Browse files- telcom_core.py +2 -2
telcom_core.py
CHANGED
@@ -201,8 +201,8 @@ def parse_evaluation_regex(xml_text):
|
|
201 |
|
202 |
# Iterate through each metric and its corresponding justification and score
|
203 |
for metric, justification, score in zip(metrics, justifications, scores):
|
204 |
-
parsed_text += f"<
|
205 |
-
parsed_text += f"<
|
206 |
parsed_text += f"<b>Justification:</b> {justification.strip()} <br>"
|
207 |
|
208 |
return parsed_text
|
|
|
201 |
|
202 |
# Iterate through each metric and its corresponding justification and score
|
203 |
for metric, justification, score in zip(metrics, justifications, scores):
|
204 |
+
parsed_text += f"<b> {metric} </b> <br>"
|
205 |
+
parsed_text += f"<b>Score: {score} </b> <br>"
|
206 |
parsed_text += f"<b>Justification:</b> {justification.strip()} <br>"
|
207 |
|
208 |
return parsed_text
|