rishisim commited on
Commit
3df9607
1 Parent(s): d9bde4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ rag_chain = (
60
  def chatresponse(message, history):
61
  output = rag_chain.invoke(message)
62
  response = output.split('ANSWER: ')[-1].strip()
63
- print(response)
64
 
65
  # Launch the Gradio chat interface
66
  gr.ChatInterface(chatresponse).launch()
 
60
  def chatresponse(message, history):
61
  output = rag_chain.invoke(message)
62
  response = output.split('ANSWER: ')[-1].strip()
63
+ return response
64
 
65
  # Launch the Gradio chat interface
66
  gr.ChatInterface(chatresponse).launch()