Skip to content

Commit

Permalink
chore(internal): update formatting (#1041)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot committed Jan 3, 2024
1 parent b201083 commit 2e9ecee
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/picture.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@
prompt = "An astronaut lounging in a tropical resort in space, pixel art"
model = "dall-e-3"


def main() -> None:
# Generate an image based on the prompt
response = openai.images.generate(prompt=prompt, model=model)

# Prints response containing a URL link to image
print(response)



if __name__ == "__main__":
main()

0 comments on commit 2e9ecee

Please sign in to comment.