Skip to content

Commit

Permalink
Update image_generation_crewai.py
Browse files Browse the repository at this point in the history
  • Loading branch information
whimo authored Apr 28, 2024
1 parent a479674 commit 65fdb6c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/image_generation_crewai.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import os.path

from dotenv import load_dotenv

from motleycrew import MotleyCrew, Task
Expand All @@ -10,7 +8,7 @@
load_dotenv()
configure_logging(verbose=True)

image_generator_tool = DallEImageGeneratorTool(os.path.realpath("./images"))
image_generator_tool = DallEImageGeneratorTool()
# For saving images locally use the line below
# image_generator_tool = DallEImageGeneratorTool(images_directory="images")

Expand Down

0 comments on commit 65fdb6c

Please sign in to comment.