A small tool that uses Selenium to drive a local speech-to-text demo page.
Project description
speech-to-text-selenium
This small project demonstrates driving a local speech-to-text demo (index.html) using Selenium.
Quick start
- Create a virtual environment and install dependencies:
python -m venv .venv; .\.venv\Scripts\Activate.ps1
pip install -r requirements.txt
- Run locally (this will open Chrome and click the Start button):
python .\main.py
# or if you installed the package: speech-listen
Notes
- Chrome must be able to access your microphone. Running headless will typically block access to a real microphone. The script uses
--use-fake-ui-for-media-streamto auto-allow the permission prompt. - For CI and headless runs, use fake audio with
--use-file-for-fake-audio-captureand--use-fake-device-for-media-stream.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file speech_to_text_selenium-0.1.0.tar.gz.
File metadata
- Download URL: speech_to_text_selenium-0.1.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29b491ee87789335828407624ed4f809609ce4fa63bc4b31e0686f67b0c0cb5b
|
|
| MD5 |
363cf4d2f65dec196c44c03a9b97d384
|
|
| BLAKE2b-256 |
4339bd2d4714250049f78b21eea6c19078819c5f4139ef477853c090e62c30c7
|
File details
Details for the file speech_to_text_selenium-0.1.0-py3-none-any.whl.
File metadata
- Download URL: speech_to_text_selenium-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e7fc54ba6325da4d6512bec5f9279aa7d4f18f3c9d89651a05f1e0cc6827495
|
|
| MD5 |
7e7116d938b3bda65eec1f90bad955ca
|
|
| BLAKE2b-256 |
0316be52171f1e966514bec5021acafa5a8666d5f6155476660e863bd9a79a2d
|