ishaan-mital commited on
Commit
8f1d664
·
1 Parent(s): 6f89ff2
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -75,7 +75,7 @@ def question(question):
75
  global chatbot
76
  answer = rag_pipeline(question)
77
  chatbot = answer
78
- return answer
79
 
80
  demo = gr.Interface(fn=question, inputs="text", outputs="text")
81
 
 
75
  global chatbot
76
  answer = rag_pipeline(question)
77
  chatbot = answer
78
+ return answer['result']
79
 
80
  demo = gr.Interface(fn=question, inputs="text", outputs="text")
81