allora/config.py

6 lines
188 B
Python
Raw Normal View History

2024-03-06 18:53:48 +03:00
import os
app_base_path = os.getenv("APP_BASE_PATH", default=os.getcwd())
data_base_path = os.path.join(app_base_path, "data")
model_file_path = os.path.join(data_base_path, "model.pkl")