Closed wooramkang closed 1 year ago
MacOS
Latest Release
GPT-3.5
any command with dalle
SYSTEM: Command generate_image returned: Error: generate_image_with_dalle() takes 2 positional arguments but 3 were given
image came out without error
this line def generate_image_with_dalle(prompt: str, filename: str) -> str:
should be this def generate_image_with_dalle(prompt: str, filename: str, size :int) -> str:
# Paste your prompt here NEXT ACTION: COMMAND = generate_image ARGUMENTS = {'prompt': 'A beautiful landscape with a sunset over the ocean.'}
<insert your logs here> SYSTEM: Command generate_image returned: Error: generate_image_with_dalle() takes 2 positional arguments but 3 were given
I found that the latest .env file does not return this error (I got this error when using the mater .env
generate_image_with_dalle should be fixed in master
What @k-boikov said :)
⚠️ Search for existing issues first ⚠️
Which Operating System are you using?
MacOS
Which version of Auto-GPT are you using?
Latest Release
GPT-3 or GPT-4?
GPT-3.5
Steps to reproduce 🕹
any command with dalle
Current behavior 😯
SYSTEM: Command generate_image returned: Error: generate_image_with_dalle() takes 2 positional arguments but 3 were given
Expected behavior 🤔
image came out without error
this line def generate_image_with_dalle(prompt: str, filename: str) -> str:
Your prompt 📝
Your Logs 📒