Spaces:
Sleeping
Sleeping
components/services/dataset.py
CHANGED
@@ -52,7 +52,7 @@ class DatasetService:
|
|
52 |
self.vectorizer = vectorizer
|
53 |
self.regulations_path = Path(config.db_config.files.regulations_path)
|
54 |
self.documents_path = Path(config.db_config.files.documents_path)
|
55 |
-
self.tmp_path= Path(os.environ.get(
|
56 |
logger.info("DatasetService initialized")
|
57 |
|
58 |
|
|
|
52 |
self.vectorizer = vectorizer
|
53 |
self.regulations_path = Path(config.db_config.files.regulations_path)
|
54 |
self.documents_path = Path(config.db_config.files.documents_path)
|
55 |
+
self.tmp_path= Path(os.environ.get("APP_TMP_PATH", '.'))
|
56 |
logger.info("DatasetService initialized")
|
57 |
|
58 |
|