Skip to content

Commit

Permalink
Fix typo in command name and update model choices in main.py and util…
Browse files Browse the repository at this point in the history
…s.py
  • Loading branch information
Zingzy committed Mar 28, 2024
1 parent b213b80 commit e6904e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
latencies = []

commands_ = {
"</imagine:1123582901544558612> 🎨": """Generates AI Images based on your prompts
"</pollinate:1123582901544558612> 🎨": """Generates AI Images based on your prompts
- **prompt** 🗣️ : Your prompt for the Image to be generated
- **model** 🤖 : The model to be used for generating the Image
- **width** ↔️ : The width of your prompted Image
Expand Down Expand Up @@ -52,9 +52,7 @@ def __init__(self):
intents.messages = True
intents.message_content = True

super().__init__(
command_prefix="!", intents=intents, help_command=None
)
super().__init__(command_prefix="!", intents=intents, help_command=None)
self.synced = False

@tasks.loop(minutes=5)
Expand Down
2 changes: 1 addition & 1 deletion utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ async def generate_image(
width: int = 500,
height: int = 500,
model: str = "turbo",
negative: str|None = None,
negative: str | None = None,
cached: bool = False,
nologo: bool = False,
enhance: bool = True,
Expand Down

0 comments on commit e6904e6

Please sign in to comment.