muryshev commited on
Commit
1c50aa4
·
1 Parent(s): 9027f19
Files changed (1) hide show
  1. components/services/dataset.py +1 -1
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(config.db_config.files.documents_path, '.'))
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