#!/usr/bin/env python import sys from crew import TechNewsCrew from datetime import date # This main file is intended to be a way for you to run your # crew locally, so refrain from adding unnecessary logic into this file. # Replace with inputs you want to test with, it will automatically # interpolate any tasks and agents information def run(field,since): """ Run the crew. """ inputs = { 'field': field, 'date': str(date.today()), 'since':str(since) } output = TechNewsCrew().crew().kickoff(inputs=inputs) outputs = str(output) return outputs