Penality commited on
Commit
dd8ef37
·
verified ·
1 Parent(s): 81646ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -87,7 +87,7 @@ def retrieve_document(query):
87
  print(f"Error fetching metadata: {metadata_.status_code} - {metadata_.text}")
88
  return None
89
 
90
- try:
91
  # Load FAISS index from binary response content
92
  index = faiss.read_index_from_buffer(embeddings_.content)
93
  print(f"Successfully loaded FAISS index with {index.ntotal} vectors.")
 
87
  print(f"Error fetching metadata: {metadata_.status_code} - {metadata_.text}")
88
  return None
89
 
90
+ try:
91
  # Load FAISS index from binary response content
92
  index = faiss.read_index_from_buffer(embeddings_.content)
93
  print(f"Successfully loaded FAISS index with {index.ntotal} vectors.")