Skin Status Analyzer (Flask + Vanilla JS)
This is a minimal web app for non-medical skin status analysis using a structured JSON output.
It currently uses a deterministic stub for inference so it runs end-to-end immediately.
Swap _stub_model_inference in app.py with your real multimodal model call.
Local run
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
python app.py
# open http://localhost:5000
Hugging Face Spaces (Docker runtime)
- Create a Space → Runtime: Docker.
- Upload the whole repo or connect GitHub.
- It will build using the included
Dockerfileand expose on port 7860.
If you use a real model API, set secrets in Settings → Variables & secrets (e.g. OPENAI_API_KEY) and modify _stub_model_inference accordingly.