Spaces:
Sleeping
Sleeping
pminervini
commited on
Commit
•
1e5558f
1
Parent(s):
98602d4
update
Browse files
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,
|
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,
|