BroBro87 commited on
Commit
e003fec
·
verified ·
1 Parent(s): a2464d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ def find_hackernews_posts(message,history):
43
 
44
  result = crew.kickoff()
45
  formatted_result = "Here are some relevant Hacker News posts:\n\n"
46
- for post in result.__str__.split('\n'):
47
  if post.strip():
48
  formatted_result += f"• {post.strip()}\n"
49
 
 
43
 
44
  result = crew.kickoff()
45
  formatted_result = "Here are some relevant Hacker News posts:\n\n"
46
+ for post in result.raw.split('\n'):
47
  if post.strip():
48
  formatted_result += f"• {post.strip()}\n"
49