Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
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 |
|