Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Kye committed Oct 19, 2023
1 parent e4a6bc5 commit e5ff176
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ dalle.download(urls, "images/")
```
-----

## Idea to Image prototype
<!-- ## Idea to Image prototype
- A prototype where we use GPT4 to refine a prompt -> then create an image.
```python
Expand All @@ -67,7 +67,7 @@ idea2image.run()
```
------
------ -->


# `Dalle` Documentation
Expand Down
6 changes: 3 additions & 3 deletions idea_to_image_example.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
from dalle3 import Idea2Image
from dalle3.idea2image import Idea2Image

idea2image = Idea2Image(
image="Hashashin Assassin's creed ancient persia art",
#enter in cookie
cookie="1Dv1qGH6TcGzEQUJqU6AfxnMfxPR4V9yCtKk8ox2kpl-_YwmKzM9CnzPmlge158c0DTSDAEqrDV5itj3Ll0GyuaRrWmXf0Gk_2FIZuL2NvCLUrCF3VALngS9qw9vESZ9EY9vqVVVvjGoIJpxf9HEz6OV3fih4dw_Abc7GrfRC7p8iRDiCmotsgy9lPKf6sSPg9yy2lMTSU9-MNmkga0CACSZsV4La9NU5V5nNowUAMhU",
cookie="",
#enter in api key
openai_api_key="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"
openai_api_key=""
)

idea2image.run()

0 comments on commit e5ff176

Please sign in to comment.