Update app.py
Browse files
app.py
CHANGED
|
@@ -153,8 +153,8 @@ def crewai_process(research_topic):
|
|
| 153 |
)
|
| 154 |
|
| 155 |
task3 = Task(
|
| 156 |
-
description="""
|
| 157 |
-
making it a valuable and enjoyable reading experience.
|
| 158 |
""",
|
| 159 |
agent=editor
|
| 160 |
)
|
|
@@ -185,7 +185,7 @@ def crewai_process(research_topic):
|
|
| 185 |
# Instantiate your crew with a sequential process
|
| 186 |
crew = Crew(
|
| 187 |
agents=[author, editor, finalizer],
|
| 188 |
-
tasks=[task1, task3
|
| 189 |
process=Process.sequential
|
| 190 |
)
|
| 191 |
|
|
|
|
| 153 |
)
|
| 154 |
|
| 155 |
task3 = Task(
|
| 156 |
+
description="""Make changes to the authors story ensuring it is engaging and resonates with children,
|
| 157 |
+
making it a valuable and enjoyable reading experience. Output the revised story.
|
| 158 |
""",
|
| 159 |
agent=editor
|
| 160 |
)
|
|
|
|
| 185 |
# Instantiate your crew with a sequential process
|
| 186 |
crew = Crew(
|
| 187 |
agents=[author, editor, finalizer],
|
| 188 |
+
tasks=[task1, task3],
|
| 189 |
process=Process.sequential
|
| 190 |
)
|
| 191 |
|