Spaces:
Running
Running
A newer version of the Gradio SDK is available:
5.44.0
metadata
title: NLproductsearch
emoji: π₯
colorFrom: green
colorTo: gray
sdk: gradio
sdk_version: 5.31.0
app_file: app.py
pinned: false
license: apache-2.0
short_description: NL product csv demo
ποΈ Salon Catalog Semantic Search
π Overview
Let salon staff or customers type any natural-language query (e.g.,
βsulfate-free shampoo under $15β or βhighest-end curling ironβ) and instantly
see the top 5 matching products from a 50-item catalogβno keyword matching,
pure semantic embeddings.
Why not use an external HF API?
Running the MiniLM model locally in the Space ensures zero API costs,
full data privacy, and lightning-fast CPU inference.
β¨ Key Features
π Feature | π Why It Matters |
---|---|
π§ Semantic Matching | Understands intent & phrasing, not just literal keywords |
β‘ CPU-only Inference | Runs on free 2 vCPU / 16 GB RAM without GPUs |
π Interactive Table | View product ID, name, category, price, and similarity score |
π§ Easy Extensibility | Swap in your own products.csv βno code changes required |
βοΈ Instant Deploy | Commit three files; Spaces auto-builds & hosts your demo |
ποΈ Architecture & Workflow
- Load Catalog
Readsproducts.csv
into a Pandas DataFrame. - Embed Descriptions
Usesall-MiniLM-L6-v2
to compute 384-d embeddings for each product description. - User Query
Encoded on the fly; cosine similarity ranks the catalog. - UI Rendering
Gradio displays a sortable DataFrame of top-K products and their scores.
π οΈ Local Development
git clone https://github.com/your-username/catalog-search.git
cd catalog-search
python3 -m venv venv && source venv/bin/activate
pip install -r requirements.txt
python app.py
## Latest Update
- Improved MiniLM embeddings for better matching. π§ - May 29, 2025 π
- Enhanced product catalog search accuracy. π§ - August 28, 2025 π
- Improved MiniLM embeddings for better matching. - August 27, 2025 π
- Improved Gradio table sorting functionality. β‘ - August 25, 2025 π
- Optimized CPU inference speed. ποΈ - August 23, 2025 π
- Added support for custom CSV formats. π§ - August 22, 2025 π
- Enhanced product catalog search accuracy. - August 20, 2025 π
- Improved MiniLM embeddings for better matching. - August 17, 2025 π
- Improved Gradio table sorting functionality. π - August 14, 2025 π
- Optimized CPU inference speed. π§ - August 13, 2025 π
- Added support for custom CSV formats. β‘ - August 12, 2025 π
- Enhanced product catalog search accuracy. ποΈ - August 11, 2025 π
- Improved MiniLM embeddings for better matching. - August 10, 2025 π
- Added support for custom CSV formats. - August 08, 2025 π
- Enhanced product catalog search accuracy. π§ - August 07, 2025 π
- Improved MiniLM embeddings for better matching. β‘ - August 06, 2025 π
- Improved Gradio table sorting functionality. ποΈ - August 05, 2025 π
- Optimized CPU inference speed. - August 04, 2025 π
- Added support for custom CSV formats. - August 03, 2025 π
- Enhanced product catalog search accuracy. β‘ - August 02, 2025 π
- Improved MiniLM embeddings for better matching. - August 01, 2025 π
- Improved Gradio table sorting functionality. π§ - July 31, 2025 π
- Optimized CPU inference speed. π - July 30, 2025 π
- Added support for custom CSV formats. ποΈ - July 29, 2025 π
- Enhanced product catalog search accuracy. - July 28, 2025 π
- Improved MiniLM embeddings for better matching. π§ - July 27, 2025 π
- Improved Gradio table sorting functionality. - July 26, 2025 π
- Optimized CPU inference speed. β‘ - July 25, 2025 π
- Added support for custom CSV formats. - July 24, 2025 π
- Enhanced product catalog search accuracy. ποΈ - July 23, 2025 π
- Improved MiniLM embeddings for better matching. - July 22, 2025 π
- Improved Gradio table sorting functionality. π§ - July 21, 2025 π
- Optimized CPU inference speed. - July 19, 2025 π
- Added support for custom CSV formats. π§ - July 18, 2025 π
- Enhanced product catalog search accuracy. - July 17, 2025 π
- Improved MiniLM embeddings for better matching. π - July 16, 2025 π
- Improved Gradio table sorting functionality. π§ - July 15, 2025 π
- Optimized CPU inference speed. - July 11, 2025 π
- Added support for custom CSV formats. - July 10, 2025 π
- Enhanced product catalog search accuracy. - July 09, 2025 π
- Improved MiniLM embeddings for better matching. β‘ - July 08, 2025 π
- Improved Gradio table sorting functionality. ποΈ - July 07, 2025 π
- Optimized CPU inference speed. π - July 06, 2025 π
- Added support for custom CSV formats. - July 05, 2025 π
- Enhanced product catalog search accuracy. π§ - July 04, 2025 π
- Improved MiniLM embeddings for better matching. - July 03, 2025 π
- Improved Gradio table sorting functionality. - July 02, 2025 π
- Optimized CPU inference speed. - July 01, 2025 π
- Added support for custom CSV formats. π§ - June 30, 2025 π
- Enhanced product catalog search accuracy. - June 29, 2025 π
- Improved MiniLM embeddings for better matching. - June 28, 2025 π
- Improved Gradio table sorting functionality. - June 27, 2025 π
- Optimized CPU inference speed. - June 26, 2025 π
- Added support for custom CSV formats. π§ - June 25, 2025 π
- Enhanced product catalog search accuracy. β‘ - June 24, 2025 π
- Improved Gradio table sorting functionality. - June 22, 2025 π
- Optimized CPU inference speed. ποΈ - June 21, 2025 π
- Added support for custom CSV formats. - June 20, 2025 π
- Enhanced product catalog search accuracy. π - June 19, 2025 π
- Improved MiniLM embeddings for better matching. - June 18, 2025 π
- Improved Gradio table sorting functionality. - June 17, 2025 π
- Optimized CPU inference speed. - June 16, 2025 π
- Added support for custom CSV formats. - June 15, 2025 π
- Enhanced product catalog search accuracy. - June 14, 2025 π
- Improved MiniLM embeddings for better matching. - June 13, 2025 π
- Optimized CPU inference speed. π§ - June 11, 2025 π
- Added support for custom CSV formats. - June 10, 2025 π
- Enhanced product catalog search accuracy. - June 09, 2025 π
- Improved MiniLM embeddings for better matching. - June 08, 2025 π
- Improved Gradio table sorting functionality. π - June 07, 2025 π
- Optimized CPU inference speed. - June 06, 2025 π
- Added support for custom CSV formats. - June 05, 2025 π
- Enhanced product catalog search accuracy. - June 04, 2025 π
- Improved MiniLM embeddings for better matching. - June 03, 2025 π
- Improved Gradio table sorting functionality. β‘ - June 02, 2025 π
- Optimized CPU inference speed. - June 01, 2025 π
- Added support for custom CSV formats. - May 31, 2025 π
- Enhanced product catalog search accuracy. - May 30, 2025 π
**Website**: https://ghostainews.com/
**Discord**: https://discord.gg/BfA23aYz