Spaces:
Sleeping
Sleeping
Commit
·
9169891
1
Parent(s):
dccce60
Update app.py
Browse files
app.py
CHANGED
|
@@ -136,6 +136,7 @@ def generate_response(input_text):
|
|
| 136 |
return chain.run(input_text)
|
| 137 |
|
| 138 |
def settings():
|
|
|
|
| 139 |
index = faiss.IndexFlatL2(embedding_size)
|
| 140 |
vectorstore_public = FAISS(embeddings_model.embed_query, index, InMemoryDocstore({})),
|
| 141 |
search = GoogleSearchAPIWrapper()
|
|
|
|
| 136 |
return chain.run(input_text)
|
| 137 |
|
| 138 |
def settings():
|
| 139 |
+
embedding_size = 1024
|
| 140 |
index = faiss.IndexFlatL2(embedding_size)
|
| 141 |
vectorstore_public = FAISS(embeddings_model.embed_query, index, InMemoryDocstore({})),
|
| 142 |
search = GoogleSearchAPIWrapper()
|