Penality commited on
Commit
3a5682e
·
verified ·
1 Parent(s): 4784d20

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def store_document_data(PDF_FILE):
49
  embedding = embedding_model.encode([text]).astype(np.float32)
50
 
51
  print("Embeddings generated")
52
- print(f"sending to {API_URL}")
53
 
54
  try:
55
  index = faiss.IndexFlatL2(embedding.shape[1])
 
49
  embedding = embedding_model.encode([text]).astype(np.float32)
50
 
51
  print("Embeddings generated")
52
+ print(f"sending to {API_URL_EMBEDDINGS}")
53
 
54
  try:
55
  index = faiss.IndexFlatL2(embedding.shape[1])