Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
xAmarnath committed May 4, 2024
1 parent 1b3eeb1 commit 70fd2c3
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions modules/chatgpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,3 @@ def dalle_prompt(prompt):
print(response.json())

return response.json()["output"]["url"]


# curl https://api.openai.com/v1/images/generations \
# -H "Content-Type: application/json" \
# -H "Authorization: Bearer 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" \
# -d '{
# "model": "dall-e-3",
# "prompt": "a donkey riding a bicycle",
# "n": 1,
# "size": "1024x1024"
# }'

0 comments on commit 70fd2c3

Please sign in to comment.