pminervini commited on
Commit
1e5558f
1 Parent(s): 98602d4
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -154,7 +154,7 @@ def rag_pipeline(prompt, index="pubmed", num_docs=3, model_name="HuggingFaceH4/z
154
  # analysed_response = analyse(joined_docs, response)
155
 
156
  # Return the generated text and the documents
157
- return response, analysed_response, joined_docs
158
 
159
  # Create the Gradio interface
160
  iface = gr.Interface(fn=rag_pipeline,
 
154
  # analysed_response = analyse(joined_docs, response)
155
 
156
  # Return the generated text and the documents
157
+ return response, joined_docs
158
 
159
  # Create the Gradio interface
160
  iface = gr.Interface(fn=rag_pipeline,