Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -131,6 +131,8 @@ class Chatbot():
|
|
131 |
d = embeddings.shape[1]
|
132 |
# Use the L2 distance metric
|
133 |
index = faiss.IndexFlatL2(d)
|
|
|
|
|
134 |
index.add(embeddings)
|
135 |
|
136 |
|
|
|
131 |
d = embeddings.shape[1]
|
132 |
# Use the L2 distance metric
|
133 |
index = faiss.IndexFlatL2(d)
|
134 |
+
print("Embeddings shape:", embeddings.shape)
|
135 |
+
print("Embeddings data type:", embeddings.dtype)")
|
136 |
index.add(embeddings)
|
137 |
|
138 |
|