SciSkin / README.md
Ziyi98's picture
Upload 9 files
08d5f5f verified

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)

  1. Create a Space → Runtime: Docker.
  2. Upload the whole repo or connect GitHub.
  3. It will build using the included Dockerfile and 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.