Spaces:
Sleeping
Sleeping
Update tasks.py
Browse files
tasks.py
CHANGED
@@ -15,9 +15,9 @@ def get_research_task(model):
|
|
15 |
def get_blog_task(model):
|
16 |
return Task(
|
17 |
description=(
|
18 |
-
"1. Use the context to write a {word_count}-word blog post on topic {topic}
|
19 |
"2. If applicable, add a references section with research papers."
|
20 |
),
|
21 |
-
expected_output="A {word_count}-word blog post on topic {topic}
|
22 |
agent=get_blogger_agent(model),
|
23 |
)
|
|
|
15 |
def get_blog_task(model):
|
16 |
return Task(
|
17 |
description=(
|
18 |
+
"1. Use the context to write a {word_count}-word blog post on topic {topic}.\n"
|
19 |
"2. If applicable, add a references section with research papers."
|
20 |
),
|
21 |
+
expected_output="A {word_count}-word blog post on topic {topic}.",
|
22 |
agent=get_blogger_agent(model),
|
23 |
)
|