This project is a Flask web application that collects responses to 20 credit health questions, predicts a risk category, and stores submissions directly in a Google Spreadsheet.
- Flask-based questionnaire with Yes/No questions.
- Collects Name, Email, and answers.
- Predicts a remedy status (Preventive, Remedy Needed, Urgent, Invalid).
- Saves responses directly with date, name, email, answers, prediction to a Google Sheet.
Install dependencies from requirements.txt
:
pip install -r requirements.txt
python Application.py
Visit: http://127.0.0.1:5000
gunicorn -w 4 -b 0.0.0.0:5000 Application:app
Date | Name | Q1 | Q2 | ... | Q20 | Prediction | |
---|---|---|---|---|---|---|---|
2025-08-03 | Your Name | you@example.com | Yes | No | ... | Yes | Urgent |
.
├── Application.py # Flask backend
├── index.html # Questionnaire form
├── response.html # Result page
├── requirements.txt # Dependencies
└── README.md # Project guide