Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -22,9 +22,11 @@ app.secret_key = os.urandom(24)
|
|
22 |
# Configurations
|
23 |
UPLOAD_FOLDER = "uploads/"
|
24 |
VECTOR_DB_FOLDER = "VectorDB/"
|
|
|
25 |
app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER
|
26 |
os.makedirs(UPLOAD_FOLDER, exist_ok=True)
|
27 |
os.makedirs(VECTOR_DB_FOLDER, exist_ok=True)
|
|
|
28 |
|
29 |
# Global variables
|
30 |
CHROMA_PATH = None
|
|
|
22 |
# Configurations
|
23 |
UPLOAD_FOLDER = "uploads/"
|
24 |
VECTOR_DB_FOLDER = "VectorDB/"
|
25 |
+
NLTK_FOLDER = "nltk_data/"
|
26 |
app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER
|
27 |
os.makedirs(UPLOAD_FOLDER, exist_ok=True)
|
28 |
os.makedirs(VECTOR_DB_FOLDER, exist_ok=True)
|
29 |
+
os.makedirs(NLTK_FOLDER, exist_ok=True)
|
30 |
|
31 |
# Global variables
|
32 |
CHROMA_PATH = None
|