Skip to content

Commit cccffd3

Browse files
committed
fix: param shape from LF
1 parent cc9a034 commit cccffd3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/evaluation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ def evaluation_function(response, answer, param=None):
117117
param = Param()
118118
elif type(param) is dict:
119119
print("param is dict, load them...") #TODO: debugging
120+
if "param" in param:
121+
param = param["param"]
120122
param = Param(**param)
121123
print("param: ", param) #TODO: debugging
122124

0 commit comments

Comments
 (0)