Spaces:
Running
Running
Update tasks.py
Browse files
tasks.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
from crewai import Task
|
2 |
|
3 |
-
from agents import get_researcher_agent,
|
4 |
|
5 |
def get_researcher_task(model):
|
6 |
return Task(
|
@@ -21,5 +21,5 @@ def get_author_task(model):
|
|
21 |
"4. After the conclusion, add 3 hashtags."
|
22 |
),
|
23 |
expected_output="A LinkedIn post on topic {topic}.",
|
24 |
-
agent=
|
25 |
)
|
|
|
1 |
from crewai import Task
|
2 |
|
3 |
+
from agents import get_researcher_agent, get_blogger_agent
|
4 |
|
5 |
def get_researcher_task(model):
|
6 |
return Task(
|
|
|
21 |
"4. After the conclusion, add 3 hashtags."
|
22 |
),
|
23 |
expected_output="A LinkedIn post on topic {topic}.",
|
24 |
+
agent=get_blogger_agent(model),
|
25 |
)
|