Skip to content

Commit 22ec98a

Browse files
stainless-botmegamanics
authored andcommitted
chore(internal): update formatting (openai#1041)
1 parent 8720980 commit 22ec98a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

examples/picture.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@
88
prompt = "An astronaut lounging in a tropical resort in space, pixel art"
99
model = "dall-e-3"
1010

11+
1112
def main() -> None:
1213
# Generate an image based on the prompt
1314
response = openai.images.generate(prompt=prompt, model=model)
14-
15+
1516
# Prints response containing a URL link to image
1617
print(response)
17-
18+
19+
1820
if __name__ == "__main__":
1921
main()

0 commit comments

Comments
 (0)