This project demonstrates a voice search interface for an e-commerce product catalog, using speech-to-text and semantic search technology.
GIF showing basic voice search functionality
- Python 3.7 or higher
# Install dependencies (includes NumPy 1.22.0+ required by Whisper)
pip install -r requirements.txt
Run the installation helper:
python install_requirements.py
This interactive script will help you resolve common installation issues, including:
- NumPy version conflicts (Whisper requires NumPy 1.22.0+)
- Network/connectivity problems
- Dependency resolution challenges
If you see this error:
ImportError: Numba needs NumPy 1.22 or greater. Got NumPy 1.21.
Fix it by:
- Running
python install_requirements.py
, or - Manually updating NumPy:
pip install numpy>=1.22.0
If you see errors like:
WARNING: Retrying... after connection broken by 'NewConnectionError'
Try these solutions:
- Use the installation helper script:
python install_requirements.py
- Check your network/proxy settings
- Run pip with trusted hosts:
pip install -r requirements.txt --trusted-host pypi.org --trusted-host files.pythonhosted.org
- If you're behind a proxy, set environment variables:
set HTTP_PROXY=http://proxy.example.com:8080 set HTTPS_PROXY=http://proxy.example.com:8080
Once all dependencies are installed:
python app.py
Then open your browser and navigate to: http://127.0.0.1:5000/
- Voice search for products
- Text-based search
- Speech-to-text transcription
- Semantic matching of queries to products