Update main.py
Browse files
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
|