Added new routes for deleting file from the ingested files

This commit is contained in:
Saurab-Shrestha 2024-02-01 17:22:39 +05:45
parent 93b3c4f574
commit 71999eb150
12 changed files with 243 additions and 153 deletions

View file

@ -1,4 +1,5 @@
import os
from pathlib import Path
PROJECT_ROOT_PATH: Path = Path(__file__).parents[1]
UPLOAD_DIR = rf"C:\Users\Dbuser\QuickGPT\backend\privateGPT\private_gpt\uploads"
UPLOAD_DIR = os.path.join(os.getcwd(), "uploads")