BredForCompanionship
commited on
Update metric.py
Browse files
metric.py
CHANGED
@@ -83,8 +83,8 @@ def compute(params):
|
|
83 |
)
|
84 |
eval_result = response.choices[0].text.strip()
|
85 |
print('eval_result', eval_result)
|
86 |
-
score = int(eval_result)
|
87 |
-
print(score)
|
88 |
# try:
|
89 |
|
90 |
|
|
|
83 |
)
|
84 |
eval_result = response.choices[0].text.strip()
|
85 |
print('eval_result', eval_result)
|
86 |
+
#score = int(eval_result)
|
87 |
+
print(f"score = {score}")
|
88 |
# try:
|
89 |
|
90 |
|