This commit is contained in:
parent
42243c0dd3
commit
3335505400
|
|
@ -33,10 +33,10 @@ def getDim(content, dim):
|
|||
score = match.group()
|
||||
else:
|
||||
score = response.choices[0].message.content
|
||||
print(score)
|
||||
return score
|
||||
|
||||
if __name__ == "__main__":
|
||||
content = sys.argv[1]
|
||||
dim = sys.argv[2]
|
||||
score = getDim(content, dim)
|
||||
print(score)
|
||||
Loading…
Reference in New Issue