Spaces:
Sleeping
Sleeping
Commit History
-
add Massimo Dutti scraperβ
Inditex itxrest API behind Akamai. Playwright + playwright-stealth warms the cookie jar, then ctx.request.get() calls the JSON endpoints. ~30 product/category, 11 women categories, Norway market. - taste/scrapers/api/massimodutti.py (new): scraper, schema mapping - taste/scrapers/__init__.py: register - taste/config.py: add to default config - pyproject.toml: bump browser extra to include playwright-stealthc657278
-
add LAB color extraction, contrast axes, scandi scorerβ
- taste/colors.py: PIL β 128x128 β LAB β KMeans, CIEDE2000 distance - taste/contrast.py: Bornstein 5-axis tagger with rule patterns - taste/scandi.py: rule-based scandi-fit score from palette + metadata - store.py: lab_color/palette/contrast_axes/scandi_score columns + migration - scripts/backfill_color_contrast.py: idempotent backfill Foundation for set-aware outfit composition.83c6b69
-
add 5 new store scrapers, category filtering, per-category taste scoringβ
Scrapers: Zalando (hydration data), COS (Centra/__NEXT_DATA__), & Other Stories (__NEXT_DATA__), Ellos (Nuxt 3 payload), Nelly (Voyado Elevate API). All use curl_cffi or httpx as needed. Expand all stores to full women's clothing categories (dresses, tops, jackets, trousers, skirts, knitwear, shoes, bags). Add category filter UI with multilingual pattern matching backend and pill bar in browse page. Implement per-category taste scoring: build separate centroids per category, score products against their own category's centroids, fall back to unified for unseen categories. Experimentally validated 1.3-2.3x better within-category discrimination.7dcb597
-
Add Docker/HF Spaces deployment and fix security issuesβ
- Dockerfile: multi-stage build (bun frontend + Python backend), CPU-only torch, serves everything on port 7860 for HF Spaces - FastAPI serves built frontend via StaticFiles + SPA catchall - Security: remove server filesystem paths from API responses, sanitize filenames on upload/image serving, prevent path traversal - Add fastapi, uvicorn, python-multipart to pyproject.toml deps - Support TASTE_DATA_DIR env var for container data directory34727e8 -
Refactor into configurable package structureβ
- Extract taste/ package with clean module boundaries: taste/config.py (YAML config + user profiles) taste/engine.py (merged v1+v2 FashionSigLIP engine) taste/store.py (ProductStore class, db_path from config) taste/models.py (shared Product dataclass) taste/scrapers/ (registry + per-store scraper classes) taste/pipeline.py (scan orchestrator) taste/output.py (HTML generation with dynamic store filters) - All store URLs, API keys, categories now in config.yaml - User preferences (liked images, disliked brands) in profiles - CLI entry point: taste scan/stats/profile - No more hardcoded paths or user-specific data in sourcef02ea7f -
Initial commit: personal taste engineβ
FashionSigLIP-based visual similarity engine that learns aesthetic preferences from reference images and scores products across Norwegian fashion stores (Zalando, Boozt, Miinto, NA-KD, Wakakuu).3727c82