File size: 302 Bytes
398778b | 1 2 3 4 5 6 7 | import os
class Config:
DEBUG = os.environ.get('FLASK_DEBUG', 'False') == 'True'
PORT = int(os.environ.get('PORT', 5000))
DATA_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'data')
MODEL_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'ml_models') |