Spaces:
Build error
Build error
Update agents.py
Browse files
agents.py
CHANGED
|
@@ -5,7 +5,7 @@ from dotenv import load_dotenv
|
|
| 5 |
#from tools.image_generation_tools import ImageGenerationTools
|
| 6 |
#from tools.web_search_tools import WebSearchTools
|
| 7 |
from web_scraper_tool import web_scraper_tool
|
| 8 |
-
from image_search_tool import image_search_tool
|
| 9 |
load_dotenv()
|
| 10 |
secret_token = os.getenv("content")
|
| 11 |
|
|
@@ -52,6 +52,6 @@ class ContentAgents:
|
|
| 52 |
goal=f'Write a high-quality, engaging, and informative blog post on {topic}, based on the content plan and research provided.',
|
| 53 |
backstory="You are a seasoned strategist responsible for developing content plans, conducting research, and ensuring the foundation for high-quality articles.",
|
| 54 |
llm=self.llm,
|
| 55 |
-
tools=[image_search_tool],
|
| 56 |
allow_delegation=False,
|
| 57 |
verbose=True)
|
|
|
|
| 5 |
#from tools.image_generation_tools import ImageGenerationTools
|
| 6 |
#from tools.web_search_tools import WebSearchTools
|
| 7 |
from web_scraper_tool import web_scraper_tool
|
| 8 |
+
#from image_search_tool import image_search_tool
|
| 9 |
load_dotenv()
|
| 10 |
secret_token = os.getenv("content")
|
| 11 |
|
|
|
|
| 52 |
goal=f'Write a high-quality, engaging, and informative blog post on {topic}, based on the content plan and research provided.',
|
| 53 |
backstory="You are a seasoned strategist responsible for developing content plans, conducting research, and ensuring the foundation for high-quality articles.",
|
| 54 |
llm=self.llm,
|
| 55 |
+
#tools=[image_search_tool],
|
| 56 |
allow_delegation=False,
|
| 57 |
verbose=True)
|