Spaces:
Running
Running
Commit History
3 days ago
-
Fix semantic search: space-query product filtering, neon on top CLIP results, tighter layout, always show matched avatar interiors
- merge.js: pure-semantic queries (phòng khách, nhà phố, biệt thự...) never crowd-out interiors; space queries filter products whose name lacks a query-specific token (sofa phòng khách keeps sofa, khóa cửa phòng ngủ is dropped); matched avatar interiors always enter the field, not only on empty query - relevance.js: space queries ring the top CLIP cosine band (relative 0.85x top, floor 0.20) even without a verbatim caption match - layout.js: results spiral tighter (0.62/0.66) with reduced pill clearance so results sit near the search box - semantic-terms.js: SPACE_QUERY_TERMS + isSpaceQuery for nhà phố/biệt thự/phòng ngủ/nhà cấp 4/căn hộ... - index.html: bump cache-bust version to 20261110-17ce3b43
9 days ago
-
Restore viewer CSS, ring only the newest ten, and clear the search pill
ML Intern1. CSS. The previous commit stripped the size/position controls with a script that cut from .field-controls to the end of the file, taking 147 lines with it: every .photo-* rule, .search-status, .search-progress and .footer. It went unnoticed because an unstyled <dialog> still opens, still shows the photograph, and never throws -- it just renders a raw UA box with the share toolbar stacked as plain text. Restored verbatim from the last good revision; app.css goes 17.1kB -> 24.7kB. 2. Ten rings, not sixty. RECENT_LIMIT (shown) and FEATURED_LIMIT (ringed) are now separate constants, because "show more photographs" and "only the newest glow" pull in opposite directions if one list drives both. 24 rings on a dense field is decoration rather than emphasis. The rest still render -- as ordinary tiles, which is what the brief asks for and what makes the ten legible. 3. More photographs: fieldCount 96/56 -> 150/96. Raised less on phones because tile area is bo…f134575 -
V.AI STUDIO backdrop, vai-avatar's product search, size/position, neon
ML InternFour changes, all on the search field. Background. The same artwork vai-avatar shows on its body (public/avatars/vaistudio_center.png, copied byte-for-byte, md5 checked) at 30% opacity. It is a separate fixed layer rather than a background-image on .app because opacity on .app would fade the photographs and the search pill with it, and background-attachment:fixed cannot compose with the .vignette and .grain layers already sitting on top of the field. Product search. Ranking is now vai-avatar's own scoreProduct(), ported to product-search.js rather than extended in place, so the two modules can be diffed against each other when the original changes. The whole rule set carries over: exact SKU/model/title must win outright, millimetre sizes are compared numerically (the specs write "900 mm", "900mm" and "W900" for the same shelf), material words are matched against specs as well as title, and brand names get a flat bonus. 35 tests in scripts/test-product-search.mjs pin each rule. Both s…0df020e
15 days ago
-
Deploy Vietnamese interior image field (1222 imgs, multilingual CLIP text tower)
Verified signaturec9e39f3