Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Kye committed Nov 14, 2023
1 parent 88f6a3f commit a8f13f0
Show file tree
Hide file tree
Showing 58 changed files with 9 additions and 121 deletions.
Binary file modified .DS_Store
Binary file not shown.
3 changes: 1 addition & 2 deletions dalle3/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from dalle3.dalle import Dalle
# from dalle3.idea2image import Idea2Image

__all__ = ["Dalle"] #"Idea2Image"]
__all__ = ["Dalle"]
8 changes: 4 additions & 4 deletions dalle3/dalle.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def get_urls(self):
logging.critical(
f"Error while extracting image urls. Maybe something is wrong about your prompt. (You can check you prompt manually) \n{e}"
)

def run(self, query):
"""
Run the whole process of downloading images from the provided query
Expand All @@ -144,7 +144,7 @@ def run(self, query):
----------
query : str
the query to search for
Usage:
------
Expand All @@ -161,8 +161,8 @@ def run(self, query):
# Run the whole process of downloading images from the provided query
dalle.run("Fish hivemind swarm in light blue avatar anime in zen garden pond concept art anime art, happy fish, anime scenery")
"""
query = self.create(query)
urls = self.get_urls()
Expand Down
111 changes: 0 additions & 111 deletions dalle3/idea2image.py

This file was deleted.

8 changes: 4 additions & 4 deletions idea_to_image_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

idea2image = Idea2Image(
image="Hashashin Assassin's creed ancient persia art",
#enter in cookie
# enter in cookie
cookie="",
#enter in api key
openai_api_key=""
# enter in api key
openai_api_key="",
)

idea2image.run()
idea2image.run()
Binary file removed images/.DS_Store
Binary file not shown.
Binary file removed images/14-10-2023 21-20-46/image_1.png
Binary file not shown.
Binary file removed images/14-10-2023 21-20-46/image_2.png
Binary file not shown.
Binary file removed images/14-10-2023 21-20-46/image_3.png
Binary file not shown.
Binary file removed images/14-10-2023 21-20-46/image_4.png
Binary file not shown.
Binary file removed images/14-10-2023 21-47-11/image_1.png
Binary file not shown.
Binary file removed images/14-10-2023 21-47-11/image_2.png
Binary file not shown.
Binary file removed images/14-10-2023 21-47-11/image_3.png
Binary file not shown.
Binary file removed images/14-10-2023 21-47-11/image_4.png
Binary file not shown.
Binary file removed images/14-10-2023 21-50-13/image_1.png
Binary file not shown.
Binary file removed images/14-10-2023 21-50-13/image_2.png
Binary file not shown.
Binary file removed images/14-10-2023 21-50-13/image_3.png
Binary file not shown.
Binary file removed images/14-10-2023 21-50-13/image_4.png
Binary file not shown.
Binary file removed images/15-10-2023 01-39-25/image_1.png
Binary file not shown.
Binary file removed images/15-10-2023 01-39-25/image_2.png
Binary file not shown.
Binary file removed images/15-10-2023 01-39-25/image_3.png
Binary file not shown.
Binary file removed images/15-10-2023 02-15-13/image_1.png
Binary file not shown.
Binary file removed images/15-10-2023 02-15-13/image_2.png
Binary file not shown.
Binary file removed images/15-10-2023 02-15-13/image_3.png
Binary file not shown.
Binary file removed images/15-10-2023 02-15-13/image_4.png
Binary file not shown.
Binary file removed images/15-10-2023 02-37-31/image_1.png
Binary file not shown.
Binary file removed images/15-10-2023 02-37-31/image_2.png
Binary file not shown.
Binary file removed images/15-10-2023 02-37-31/image_3.png
Binary file not shown.
Binary file removed images/15-10-2023 02-37-31/image_4.png
Binary file not shown.
Binary file removed images/15-10-2023 02-56-30/image_1.png
Binary file not shown.
Binary file removed images/15-10-2023 02-56-30/image_2.png
Binary file not shown.
Binary file removed images/15-10-2023 02-56-30/image_3.png
Diff not rendered.
Binary file removed images/15-10-2023 02-56-30/image_4.png
Diff not rendered.
Binary file removed images/15-10-2023 11-33-33/image_1.png
Diff not rendered.
Binary file removed images/15-10-2023 11-33-33/image_2.png
Diff not rendered.
Binary file removed images/15-10-2023 11-33-33/image_3.png
Diff not rendered.
Binary file removed images/15-10-2023 22-02-02/image_1.png
Diff not rendered.
Binary file removed images/15-10-2023 22-02-02/image_2.png
Diff not rendered.
Binary file removed images/15-10-2023 22-02-02/image_3.png
Diff not rendered.
Binary file removed images/15-10-2023 22-05-37/image_1.png
Diff not rendered.
Binary file removed images/15-10-2023 22-05-37/image_2.png
Diff not rendered.
Binary file removed images/15-10-2023 22-05-37/image_3.png
Diff not rendered.
Binary file removed images/15-10-2023 22-05-37/image_4.png
Diff not rendered.
Binary file removed images/15-10-2023 22-08-35/image_1.png
Diff not rendered.
Binary file removed images/15-10-2023 22-08-35/image_2.png
Diff not rendered.
Binary file removed images/15-10-2023 22-08-35/image_3.png
Diff not rendered.
Binary file removed images/15-10-2023 22-08-35/image_4.png
Diff not rendered.
Binary file removed images/15-10-2023 22-18-37/image_1.png
Diff not rendered.
Binary file removed images/15-10-2023 22-18-37/image_2.png
Diff not rendered.
Binary file removed images/15-10-2023 22-18-37/image_3.png
Diff not rendered.
Binary file removed images/15-10-2023 22-18-37/image_4.png
Diff not rendered.
Binary file removed images/15-10-2023 22-21-02/image_1.png
Diff not rendered.
Binary file removed images/15-10-2023 22-21-02/image_2.png
Diff not rendered.
Binary file removed images/15-10-2023 22-21-02/image_3.png
Diff not rendered.
Binary file removed images/15-10-2023 22-27-17/image_1.png
Diff not rendered.
Binary file removed images/15-10-2023 22-27-17/image_2.png
Diff not rendered.
Binary file removed images/15-10-2023 22-27-17/image_3.png
Diff not rendered.
Binary file removed images/15-10-2023 22-27-17/image_4.png
Diff not rendered.

0 comments on commit a8f13f0

Please sign in to comment.