Skip to content

Commit

Permalink
Update appv2.py
Browse files Browse the repository at this point in the history
  • Loading branch information
elder-plinius authored Nov 18, 2023
1 parent b2e4b62 commit aad4ca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appv2.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ async def generate(ctx, *, prompt: str = None):
"""Generates a response or image based on the provided prompt or image"""
if prompt:
# Text prompt provided, generate image with DALL·E 3
response = openai.Image.create(
response = openai.images.create(
model="dall-e-3",
prompt=prompt,
size="1024x1024",
Expand Down

0 comments on commit aad4ca9

Please sign in to comment.