Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -67,6 +67,7 @@ def store_document_data(PDF_FILE):
|
|
67 |
doc_index = index.ntotal - 1
|
68 |
with open(index_file, "rb") as f:
|
69 |
f.seek(0)
|
|
|
70 |
response = requests.post(API_URL_EMBEDDINGS, files={"file": f})
|
71 |
|
72 |
print("sent", response.json())
|
|
|
67 |
doc_index = index.ntotal - 1
|
68 |
with open(index_file, "rb") as f:
|
69 |
f.seek(0)
|
70 |
+
print(f)
|
71 |
response = requests.post(API_URL_EMBEDDINGS, files={"file": f})
|
72 |
|
73 |
print("sent", response.json())
|