Dalle draw command prompts for minimum of 3 words
In its current state the program prompts for a minimum of 3 words when trying to use the dalle draw command, however dalle does not enforce a minimum of 3 words for the prompts. The minimum can be set to 1 word.
To Reproduce
Steps to reproduce the behavior:
On discord server with bot run /dalle draw Arnold Schwarzenegger
Bot will reply with error requesting a prompt between 3 and 75 words long
Edit line 1140 in file models/openai_model.py to: if words < 1 or words > 75:
Maybe restart bot server
Now again run /dalle draw Arnold Schwarzenegger on discord server with bot
Watch as the bot produces and successfully returns images of Arnold Schwarzenegger
Expected behavior
Expected behavior would be: the bot accepting prompts that are 1 word long, or longer.
Dalle draw command prompts for minimum of 3 words In its current state the program prompts for a minimum of 3 words when trying to use the dalle draw command, however dalle does not enforce a minimum of 3 words for the prompts. The minimum can be set to 1 word.
To Reproduce Steps to reproduce the behavior:
/dalle draw Arnold Schwarzenegger
models/openai_model.py
to:if words < 1 or words > 75:
/dalle draw Arnold Schwarzenegger
on discord server with botExpected behavior Expected behavior would be: the bot accepting prompts that are 1 word long, or longer.
Screenshots