Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,6 +27,7 @@ planner = Agent(
|
|
| 27 |
"and make informed decisions. "
|
| 28 |
"Your work is the basis for "
|
| 29 |
"the Content Writer to write an article on this topic.",
|
|
|
|
| 30 |
allow_delegation=False,
|
| 31 |
verbose=True
|
| 32 |
)
|
|
@@ -36,6 +37,7 @@ writer = Agent(
|
|
| 36 |
goal="Write a compelling and well-structured blog post on {topic}.",
|
| 37 |
backstory="You're a writer who uses the content plan to create a detailed blog post. "
|
| 38 |
"Ensure it aligns with SEO best practices and the brand's voice.",
|
|
|
|
| 39 |
allow_delegation=False,
|
| 40 |
verbose=True
|
| 41 |
)
|
|
@@ -51,6 +53,7 @@ editor = Agent(
|
|
| 51 |
"when providing opinions or assertions, "
|
| 52 |
"and also avoids major controversial topics "
|
| 53 |
"or opinions when possible.",
|
|
|
|
| 54 |
allow_delegation=False,
|
| 55 |
verbose=True
|
| 56 |
)
|
|
|
|
| 27 |
"and make informed decisions. "
|
| 28 |
"Your work is the basis for "
|
| 29 |
"the Content Writer to write an article on this topic.",
|
| 30 |
+
llm=llm,
|
| 31 |
allow_delegation=False,
|
| 32 |
verbose=True
|
| 33 |
)
|
|
|
|
| 37 |
goal="Write a compelling and well-structured blog post on {topic}.",
|
| 38 |
backstory="You're a writer who uses the content plan to create a detailed blog post. "
|
| 39 |
"Ensure it aligns with SEO best practices and the brand's voice.",
|
| 40 |
+
llm=llm,
|
| 41 |
allow_delegation=False,
|
| 42 |
verbose=True
|
| 43 |
)
|
|
|
|
| 53 |
"when providing opinions or assertions, "
|
| 54 |
"and also avoids major controversial topics "
|
| 55 |
"or opinions when possible.",
|
| 56 |
+
llm=llm,
|
| 57 |
allow_delegation=False,
|
| 58 |
verbose=True
|
| 59 |
)
|