-
Notifications
You must be signed in to change notification settings - Fork 4
Description
I've copied fat_labels code from here and edited filebut nothing changed. this is the error.
Error occurred when executing FatLabels:
'ImageDraw' object has no attribute 'textsize'
execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
ComfyUI\custom_nodes\ComfyUI-FatLabels\fat_labels.py", line 27, in create_fat_label_with_cv2
text_width, text_height = self.calculate_text_size(text, font_size)
ComfyUI-FatLabels\fat_labels.py", line 61, in calculate_text_size
text_width, text_height = draw.textsize(text, font=font)
it is portable comfyui on cpu.