Update nodes.py

This commit is contained in:
kijai
2024-08-22 23:12:49 +03:00
parent 4ec6d50315
commit 87e3784d14
+1 -1
View File
@@ -268,7 +268,7 @@ class OneVisionCaptionFolder:
results_list.append(result) results_list.append(result)
base_filename = os.path.splitext(img_path)[0] base_filename = os.path.splitext(img_path)[0]
with open(f'{base_filename}.txt', 'w') as file: with open(f'{base_filename}.txt', 'w', encoding='utf-8') as file:
file.write(result) file.write(result)
pbar.update(1) pbar.update(1)