36 lines
1.0 KiB
Bash
36 lines
1.0 KiB
Bash
# CardioAI Configuration
|
|
# Environment variables for the cardiovascular disease intelligent assistant system
|
|
|
|
# Data file path (relative to project root)
|
|
DATA_PATH=./data/心血管疾病.xlsx
|
|
|
|
# Flask server configuration
|
|
FLASK_APP=module2_predictor/app.py
|
|
FLASK_ENV=development
|
|
FLASK_DEBUG=True
|
|
FLASK_HOST=0.0.0.0
|
|
FLASK_PORT=5000
|
|
|
|
# Streamlit dashboard configuration
|
|
STREAMLIT_PORT=8501
|
|
STREAMLIT_THEME=light
|
|
|
|
# AI Model API Keys (replace with your actual keys)
|
|
# DeepSeek API (from dashscope)
|
|
DASHSCOPE_API_KEY=your_dashscope_api_key_here
|
|
|
|
# OpenAI API (for langchain-openai, if used)
|
|
OPENAI_API_KEY=your_openai_api_key_here
|
|
|
|
# Voice assistant configuration
|
|
VOICE_ASSISTANT_PORT=5001
|
|
VOICE_ASSISTANT_HOST=0.0.0.0
|
|
|
|
# Model file paths (will be generated during training)
|
|
MODEL_PATH=./module2_predictor/models/xgb_model.pkl
|
|
SCALER_PATH=./module2_predictor/models/scaler.pkl
|
|
ENCODER_PATH=./module2_predictor/models/encoder.pkl
|
|
|
|
# Feature configuration
|
|
NUMERICAL_FEATURES=age,trestbps,chol,thalach,oldpeak
|
|
CATEGORICAL_FEATURES=sex,cp,fbs,restecg,exang,slope,ca,thal |