Spaces:
Running
Running
Update crew.py
Browse files
crew.py
CHANGED
@@ -2,11 +2,11 @@ from crewai import Crew, Process
|
|
2 |
from langchain_openai import ChatOpenAI
|
3 |
|
4 |
from agents import get_content_planner_agent, get_content_writer_agent, get_editor_agent
|
5 |
-
from tasks import
|
6 |
|
7 |
def get_crew():
|
8 |
return Crew(
|
9 |
agents=[get_content_planner_agent(), get_content_writer_agent(), get_editor_agent()],
|
10 |
-
tasks=[
|
11 |
verbose=2
|
12 |
)
|
|
|
2 |
from langchain_openai import ChatOpenAI
|
3 |
|
4 |
from agents import get_content_planner_agent, get_content_writer_agent, get_editor_agent
|
5 |
+
from tasks import get_content_planner_task, get_content_writer_task, get_editor_task
|
6 |
|
7 |
def get_crew():
|
8 |
return Crew(
|
9 |
agents=[get_content_planner_agent(), get_content_writer_agent(), get_editor_agent()],
|
10 |
+
tasks=[get_content_planner_task(), get_content_writer_task(), get_editor_task()],
|
11 |
verbose=2
|
12 |
)
|