BroBro87 commited on
Commit
e563dc0
·
verified ·
1 Parent(s): 1dbdead

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
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 [(message, result.raw)]
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__":