summary and sentiment analysis
This commit is contained in:
@ -205,8 +205,4 @@ def summarize_data(data):
|
||||
def run_web_agent(topic, folder):
|
||||
print(f"[{datetime.now()}] Running web agent for topic: {topic}")
|
||||
news_data = search_news(topic)
|
||||
# save_data(news_data, folder)
|
||||
# summary = summarize_data(news_data)
|
||||
# with open(os.path.join(folder, "summary_log.txt"), 'a') as log_file:
|
||||
# log_file.write(f"{datetime.now()}: {summary}\n")
|
||||
return news_data
|
Reference in New Issue
Block a user