Unverified Commit c12e5bec authored by Hailey Schoelkopf's avatar Hailey Schoelkopf Committed by GitHub
Browse files

fix: utf-8 encoding for logged sample files was missing (#2082)

parent be01651c
......@@ -318,7 +318,7 @@ class EvaluationTracker:
+ "\n"
)
with open(file_results_samples, "a") as f:
with open(file_results_samples, "a", encoding="utf-8") as f:
f.write(sample_dump)
if self.api and self.push_samples_to_hub:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment