ezzcodeezzlife / dalle2-in-python

Use DALL·E 2 in Python
https://pypi.org/project/dalle2/
MIT License
178 stars 34 forks source link

Add batch size in the Constructor. #1

Closed prajinkhadka closed 2 years ago

prajinkhadka commented 2 years ago

Using 10 as batch size was throwing an issue :

"error": {
"message": "{'task_type': 'text2im', 'prompt': {'caption': 'portal to another dimension, digital art', 'batch_size': 10}} is not valid under any of the given schemas",
"type": "invalid_request_error",
"param": null,
"code": null
}
}

ezzcodeezzlife commented 2 years ago

thanks 🔥