Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
maxreciprocate committed Jul 24, 2023
1 parent 7e4374e commit 644c493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trlx/pipeline/ppo_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def filter_text(d, only_text):
d.pop(key)
return d

data = [filter_text(exp_to_dict(exp), only_text) for exp in self.history]
data = [filter_text(exp_to_dict(exp), only_text) for exp in self.history]
with open(fpath, "w") as f:
f.write(json.dumps(data, indent=2))

Expand Down

0 comments on commit 644c493

Please sign in to comment.