Spaces:
Runtime error
Runtime error
Commit
·
43a1db0
1
Parent(s):
17ec566
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,9 +46,9 @@ def crewai_process(research_topic):
|
|
| 46 |
writer = Agent(
|
| 47 |
role='Tech Content Strategist',
|
| 48 |
goal='Craft compelling content on tech advancements',
|
| 49 |
-
backstory="""You are a renowned Tech Content Strategist, known for your insightful
|
| 50 |
and engaging articles on technology and innovation. With a deep understanding of
|
| 51 |
-
the tech industry, you transform complex concepts into compelling narratives.""",
|
| 52 |
verbose=True,
|
| 53 |
allow_delegation=True,
|
| 54 |
llm = gemini_llm
|
|
@@ -90,7 +90,7 @@ iface = gr.Interface(
|
|
| 90 |
fn=crewai_process,
|
| 91 |
inputs=gr.Textbox(lines=2, placeholder="Enter Research Topic Here..."),
|
| 92 |
outputs="text",
|
| 93 |
-
title="CrewAI Research and Writing Assistant",
|
| 94 |
description="Input a research topic to get a comprehensive analysis and a blog post draft."
|
| 95 |
)
|
| 96 |
|
|
|
|
| 46 |
writer = Agent(
|
| 47 |
role='Tech Content Strategist',
|
| 48 |
goal='Craft compelling content on tech advancements',
|
| 49 |
+
backstory="""You are a renowned Tech Social Media Content Writer and Strategist, known for your insightful
|
| 50 |
and engaging articles on technology and innovation. With a deep understanding of
|
| 51 |
+
the tech industry and how people are impacted by it, you transform complex concepts into compelling narratives.""",
|
| 52 |
verbose=True,
|
| 53 |
allow_delegation=True,
|
| 54 |
llm = gemini_llm
|
|
|
|
| 90 |
fn=crewai_process,
|
| 91 |
inputs=gr.Textbox(lines=2, placeholder="Enter Research Topic Here..."),
|
| 92 |
outputs="text",
|
| 93 |
+
title="CrewAI-Gemini Research and Writing Assistant",
|
| 94 |
description="Input a research topic to get a comprehensive analysis and a blog post draft."
|
| 95 |
)
|
| 96 |
|