Spaces:
Configuration error
Configuration error
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ docsearch=PineconeVectorStore.from_existing_index(
|
|
| 50 |
)
|
| 51 |
|
| 52 |
|
| 53 |
-
retriever= docsearch.as_retriever(search_type="similarity",search_kwargs={"k":
|
| 54 |
|
| 55 |
|
| 56 |
generator = pipeline( "text2text-generation", model="google/flan-t5-large", device=-1)
|
|
|
|
| 50 |
)
|
| 51 |
|
| 52 |
|
| 53 |
+
retriever= docsearch.as_retriever(search_type="similarity",search_kwargs={"k": 3})
|
| 54 |
|
| 55 |
|
| 56 |
generator = pipeline( "text2text-generation", model="google/flan-t5-large", device=-1)
|