Penality commited on
Commit
8fbd419
·
verified ·
1 Parent(s): eadc267

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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())