ishaan-mital commited on
Commit
096f133
·
1 Parent(s): d1289ae
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ def main(question):
70
  context = retrieval.predict(question, api_name = "/predict")
71
  answer=call_llm_api(question,context)
72
  chatbot = answer
73
- return answer
74
 
75
  demo = gr.Interface(main, inputs = "text", outputs = "text")
76
 
 
70
  context = retrieval.predict(question, api_name = "/predict")
71
  answer=call_llm_api(question,context)
72
  chatbot = answer
73
+ return answer[1][0][1]
74
 
75
  demo = gr.Interface(main, inputs = "text", outputs = "text")
76