Spaces:
Paused
Paused
Update crew.py
Browse files
crew.py
CHANGED
|
@@ -1,5 +1,3 @@
|
|
| 1 |
-
import os
|
| 2 |
-
|
| 3 |
from crewai import Agent, Task, Crew
|
| 4 |
from crewai_tools import (
|
| 5 |
DirectoryReadTool,
|
|
@@ -40,7 +38,7 @@ def get_crew():
|
|
| 40 |
)
|
| 41 |
|
| 42 |
write = Task(
|
| 43 |
-
description=
|
| 44 |
expected_output='A 4-paragraph blog post formatted in markdown with engaging, informative, and accessible content, avoiding complex jargon.',
|
| 45 |
agent=writer,
|
| 46 |
output_file='blog-posts/new_post.md' # The final blog post will be saved here
|
|
|
|
|
|
|
|
|
|
| 1 |
from crewai import Agent, Task, Crew
|
| 2 |
from crewai_tools import (
|
| 3 |
DirectoryReadTool,
|
|
|
|
| 38 |
)
|
| 39 |
|
| 40 |
write = Task(
|
| 41 |
+
description="Write an engaging blog post about the AI industry, based on the research analyst's summary. Draw inspiration from the latest blog posts in the directory.",
|
| 42 |
expected_output='A 4-paragraph blog post formatted in markdown with engaging, informative, and accessible content, avoiding complex jargon.',
|
| 43 |
agent=writer,
|
| 44 |
output_file='blog-posts/new_post.md' # The final blog post will be saved here
|