Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -76,7 +76,6 @@ Here are some documents that are relevant to the question mentioned below.-
|
|
76 |
|
77 |
# Define the predict function that runs when 'Submit' is clicked or when an API request is made
|
78 |
def predict(user_input):
|
79 |
-
#filter = {"source": f"/content/dataset/{company}-10-k-2023.pdf"}
|
80 |
relevant_document_chunks = vectorstore_persisted.similarity_search(user_input, k=5)
|
81 |
|
82 |
|
|
|
76 |
|
77 |
# Define the predict function that runs when 'Submit' is clicked or when an API request is made
|
78 |
def predict(user_input):
|
|
|
79 |
relevant_document_chunks = vectorstore_persisted.similarity_search(user_input, k=5)
|
80 |
|
81 |
|