Closed ladyvanburen closed 1 year ago
Attempted image generation with Dalle and received:
INFO SYSTEM: Command generate_image returned: Error: generate_image_with_dalle() takes 2 positional arguments but 3 were given
I was able to fix this in the image_gen.py script by adding the third missing argument at line 79 as seen below:
def generate_image_with_dalle(prompt: str, filename: str, size: int = 512)
The current commit has only two arguments there when it does indeed specify 3 on line 31.
Hope this helps!
2691 will resolve this issue
Awesome, thank you!
Fixed in #2691
Attempted image generation with Dalle and received:
INFO SYSTEM: Command generate_image returned: Error: generate_image_with_dalle() takes 2 positional arguments but 3 were given
I was able to fix this in the image_gen.py script by adding the third missing argument at line 79 as seen below:
def generate_image_with_dalle(prompt: str, filename: str, size: int = 512)
The current commit has only two arguments there when it does indeed specify 3 on line 31.
Hope this helps!