LEv145 / --sd-webui-ar-plus

Select img aspect ratio from presets in sd-webui
55 stars 6 forks source link

ValueError: not enough values to unpack (expected 3, got 1) #31

Open shaun-ba opened 2 weeks ago

shaun-ba commented 2 weeks ago

I simply changed the 2048 res for 896 but now I'm getting this error? Of course I have 3 values here as the rest of the lines!

 line 263, in read_resolutions
        self.res_labels, res, self.res_comments = parse_resolutions_file("resolutions.txt")
                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/extensions/--sd-webui-ar-plusplus/scripts/sd-webui-ar-plusplus.py", line 200, in parse_resolutions_file
        label, width, height = line.strip().split(",")
        ^^^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 3, got 1)
LEv145 commented 1 week ago

Show your full config, please