Spaces:
Runtime error
Runtime error
File size: 464 Bytes
a76d507 b636541 a76d507 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
from crewai import Crew,Process
from tasks import research_task,write_task
from agents import news_researcher,news_writer
## Forming the tech focused crew with some enhanced configuration
crew=Crew(
agents=[news_researcher,news_writer],
tasks=[research_task,write_task],
process=Process.sequential,
)
## starting the task execution process wiht enhanced feedback
result=crew.kickoff(inputs={'topic':'AI in healthcare'})
print(result) |