Update main.py
Browse files
main.py
CHANGED
|
@@ -101,7 +101,7 @@ async def upload_file_on_server(file: UploadFile = File(...)):
|
|
| 101 |
# file_content = file.read() # Load the document
|
| 102 |
|
| 103 |
# # Create a directory if it doesn't exist
|
| 104 |
-
data_dir = "
|
| 105 |
# # os.makedirs(data_dir, exist_ok=True)
|
| 106 |
|
| 107 |
# # Create a temporary file in the data directory
|
|
|
|
| 101 |
# file_content = file.read() # Load the document
|
| 102 |
|
| 103 |
# # Create a directory if it doesn't exist
|
| 104 |
+
data_dir = "data"
|
| 105 |
# # os.makedirs(data_dir, exist_ok=True)
|
| 106 |
|
| 107 |
# # Create a temporary file in the data directory
|