Skip to content

Commit

Permalink
Newline strip for generative input explanation due to parsing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dschiese committed May 29, 2024
1 parent 5bd58b3 commit 2f5fa6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion explanation_frontend.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def createExplanationDict(input, output):
return {
"input_data": {
"rulebased": input["templatebased"],
"generative": input["generative"],
"generative": input["generative"].lstrip("\n"),
"dataset": input["dataset"],
"prompt": input["prompt"]
},
Expand Down

0 comments on commit 2f5fa6a

Please sign in to comment.