Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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:
|