mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 04:39:06 +00:00
flake8 / pylint updates
This commit is contained in:
@@ -93,6 +93,6 @@ def generate_finetuning_dataset(video_ids):
|
||||
video_ids = ["yTnSEZIwnkU"]
|
||||
dataset = generate_finetuning_dataset(video_ids)
|
||||
|
||||
with open("finetuning_dataset.jsonl", "w") as f:
|
||||
with open("finetuning_dataset.jsonl", "w", encoding="utf-8") as file:
|
||||
for example in dataset:
|
||||
f.write(json.dumps(example) + "\n")
|
||||
file.write(json.dumps(example) + "\n")
|
||||
|
||||
Reference in New Issue
Block a user