Almaatla commited on
Commit
247f8d3
·
verified ·
1 Parent(s): cc2cdb0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -155,7 +155,6 @@ def upload_database(file: UploadFile = File(...)):
155
  return {"message": f"Database uploaded with {len(documents)} documents"}
156
 
157
 
158
- @app.post("/admin/database/upload")
159
  def upload_database_0(file: UploadFile = File(...)):
160
  # Read the contents of the uploaded file
161
  contents = file.file.read()
 
155
  return {"message": f"Database uploaded with {len(documents)} documents"}
156
 
157
 
 
158
  def upload_database_0(file: UploadFile = File(...)):
159
  # Read the contents of the uploaded file
160
  contents = file.file.read()