roshcheeku commited on
Commit
379427d
·
verified ·
1 Parent(s): 83daf0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ import warnings
19
  warnings.filterwarnings('ignore')
20
 
21
  app = Flask(__name__)
22
- app.secret_key = 'your-secret-key-here' # Change this to a secure secret key
23
 
24
  # Configuration
25
  UPLOAD_FOLDER = 'static/plots'
 
19
  warnings.filterwarnings('ignore')
20
 
21
  app = Flask(__name__)
22
+ app.secret_key = os.environ.get('FLASK_SECRET_KEY', os.urandom(24).hex())
23
 
24
  # Configuration
25
  UPLOAD_FOLDER = 'static/plots'