Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,15 +44,12 @@ def find_hackernews_posts(message,history):
|
|
| 44 |
result = crew.kickoff()
|
| 45 |
|
| 46 |
# Return the result in the format expected by the Chatbot component
|
| 47 |
-
return
|
| 48 |
|
| 49 |
chat_interface = gr.ChatInterface(
|
| 50 |
fn=find_hackernews_posts,
|
| 51 |
title="HackerNews Post Finder",
|
| 52 |
description="Enter a Twitter username to find relevant technical HackerNews posts.",
|
| 53 |
-
retry_btn=None,
|
| 54 |
-
undo_btn=None,
|
| 55 |
-
clear_btn="Clear"
|
| 56 |
)
|
| 57 |
|
| 58 |
if __name__ == "__main__":
|
|
|
|
| 44 |
result = crew.kickoff()
|
| 45 |
|
| 46 |
# Return the result in the format expected by the Chatbot component
|
| 47 |
+
return str(result)
|
| 48 |
|
| 49 |
chat_interface = gr.ChatInterface(
|
| 50 |
fn=find_hackernews_posts,
|
| 51 |
title="HackerNews Post Finder",
|
| 52 |
description="Enter a Twitter username to find relevant technical HackerNews posts.",
|
|
|
|
|
|
|
|
|
|
| 53 |
)
|
| 54 |
|
| 55 |
if __name__ == "__main__":
|