Penality commited on
Commit
cbb907e
·
verified ·
1 Parent(s): 2d5af5b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -55,6 +55,7 @@ def store_document_data(PDF_FILE):
55
  index_file = "index.bin"
56
  faiss.write_index(index, index_file)
57
  response = requests.post(API_URL, index_file)
 
58
  except requests.exceptions.RequestException as e:
59
  return {"error": str(e)}
60
 
 
55
  index_file = "index.bin"
56
  faiss.write_index(index, index_file)
57
  response = requests.post(API_URL, index_file)
58
+ print("sent")
59
  except requests.exceptions.RequestException as e:
60
  return {"error": str(e)}
61