Penality commited on
Commit
2319f8b
·
verified ·
1 Parent(s): 8504e03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -49,6 +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_EMBEDDINGS}")
53
 
54
  try:
 
49
  embedding = embedding_model.encode([text]).astype(np.float32)
50
 
51
  print("Embeddings generated")
52
+ print("Embedding shape:", embedding.shape)
53
  print(f"sending to {API_URL_EMBEDDINGS}")
54
 
55
  try: