TalatMasood commited on
Commit
a1de13c
·
1 Parent(s): e36537f

Updated code for saving temp directory for google drive documents.

Browse files
Files changed (1) hide show
  1. src/main.py +4 -0
src/main.py CHANGED
@@ -82,6 +82,10 @@ chroma_path = Path(settings.CHROMA_PATH)
82
  chroma_path.mkdir(parents=True, exist_ok=True)
83
  print(f"ChromaDB directory created at: {chroma_path}")
84
 
 
 
 
 
85
 
86
  # Initialize core components
87
  doc_processor = DocumentProcessor()
 
82
  chroma_path.mkdir(parents=True, exist_ok=True)
83
  print(f"ChromaDB directory created at: {chroma_path}")
84
 
85
+ temp_dir = Path(settings.TEMP_DOWNLOAD_DIR)
86
+ temp_dir.mkdir(parents=True, exist_ok=True)
87
+ print(f"Temp downloads directory created at: {temp_dir}")
88
+
89
 
90
  # Initialize core components
91
  doc_processor = DocumentProcessor()