aminaj commited on
Commit
d9f5041
·
verified ·
1 Parent(s): e6196f9

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -3
main.py CHANGED
@@ -121,9 +121,9 @@ async def upload_file_on_server(file: UploadFile = File(...)):
121
  # f.write(file.file.read())
122
 
123
  # Return a response
124
- #return {"filename": file.filename, "message": "File uploaded successfully"}
125
- return file.filename
126
-
127
 
128
  ## POST - /load_file
129
  # Load the file, split it into document chunks, and upload the document embeddings into a vectorstore
 
121
  # f.write(file.file.read())
122
 
123
  # Return a response
124
+ # return {"filename": file.filename, "message": "File uploaded successfully"}
125
+ # return file.filename
126
+ return "hiiiiiiiiiiiiiiiiiiiiiiiiiii"
127
 
128
  ## POST - /load_file
129
  # Load the file, split it into document chunks, and upload the document embeddings into a vectorstore