Skip to content

Commit

Permalink
fix defaults for dalle
Browse files Browse the repository at this point in the history
  • Loading branch information
Kav-K committed Nov 17, 2023
1 parent 75c66ef commit 7f9a360
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cogs/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ async def draw_old(self, ctx: discord.ApplicationContext, prompt: str):
name="quality",
description="Image quality",
required=False,
default="hd",
default="standard",
autocomplete=Settings_autocompleter.get_dalle3_image_qualities,
)
@discord.option(
Expand All @@ -980,7 +980,7 @@ async def draw_old(self, ctx: discord.ApplicationContext, prompt: str):
name="style",
description="The style of the generated images, choose between realism/vivid",
required=False,
default="natural",
default="vivid",
autocomplete=Settings_autocompleter.get_dalle3_image_styles,
)
async def draw(
Expand Down
2 changes: 1 addition & 1 deletion gpt3discord.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
from models.openai_model import Model


__version__ = "12.2.8"
__version__ = "12.2.9"


PID_FILE = Path("bot.pid")
Expand Down
2 changes: 2 additions & 0 deletions models/openai_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1405,6 +1405,8 @@ async def send_image_request(

await self.usage_service.update_usage_image(image_size)

print("Inside a dalle-3 request")

image_urls = []
tasks = []
payload = {
Expand Down

0 comments on commit 7f9a360

Please sign in to comment.