Update app.py
Browse files
app.py
CHANGED
|
@@ -124,7 +124,7 @@ def crewai_process(research_topic):
|
|
| 124 |
)
|
| 125 |
|
| 126 |
task2 = Task(
|
| 127 |
-
description="""Summarize the author story into an image prompt
|
| 128 |
agent=artist
|
| 129 |
)
|
| 130 |
|
|
@@ -155,8 +155,8 @@ def crewai_process(research_topic):
|
|
| 155 |
# tasks=[task1, task2, task3, task4, task5]
|
| 156 |
# agents=[author, artist, poet, finalizer ],
|
| 157 |
# tasks=[task1, task2, task3, task5],
|
| 158 |
-
agents=[author, finalizer],
|
| 159 |
-
tasks=[task1,
|
| 160 |
verbose=2,
|
| 161 |
process=Process.sequential
|
| 162 |
)
|
|
|
|
| 124 |
)
|
| 125 |
|
| 126 |
task2 = Task(
|
| 127 |
+
description="""Summarize the author story into an image prompt.""",
|
| 128 |
agent=artist
|
| 129 |
)
|
| 130 |
|
|
|
|
| 155 |
# tasks=[task1, task2, task3, task4, task5]
|
| 156 |
# agents=[author, artist, poet, finalizer ],
|
| 157 |
# tasks=[task1, task2, task3, task5],
|
| 158 |
+
agents=[author, poet, finalizer],
|
| 159 |
+
tasks=[task1, task3, task5],
|
| 160 |
verbose=2,
|
| 161 |
process=Process.sequential
|
| 162 |
)
|