Chris4K commited on
Commit
41ac349
·
1 Parent(s): 8999d94

Update vector_store_retriever.py

Browse files
Files changed (1) hide show
  1. vector_store_retriever.py +0 -13
vector_store_retriever.py CHANGED
@@ -35,16 +35,3 @@ class VectoreStoreRetrievalTool:
35
  # Run the query through the retriever
36
  response = self.retriever.run(query)
37
  return response['result']
38
-
39
- # Create the Gradio interface using the PDFRetrievalTool
40
- tool = gr.Interface(
41
- PDFRetrievalTool(),
42
- inputs=gr.Textbox(),
43
- outputs=gr.Textbox(),
44
- live=True,
45
- title="PDF Retrieval Tool",
46
- description="This tool indexes PDF documents and retrieves relevant answers based on a given query.",
47
- )
48
-
49
- # Launch the Gradio interface
50
- tool.launch()
 
35
  # Run the query through the retriever
36
  response = self.retriever.run(query)
37
  return response['result']