Skip to content

Fix startup: auto-download Vosk model, fix mic config path, add setup.sh#18

Open
cashmeout2313 wants to merge 1 commit into
dot-Justin:mainfrom
cashmeout2313:main
Open

Fix startup: auto-download Vosk model, fix mic config path, add setup.sh#18
cashmeout2313 wants to merge 1 commit into
dot-Justin:mainfrom
cashmeout2313:main

Conversation

@cashmeout2313

Copy link
Copy Markdown

Fixes #7

Changes

Auto-download Vosk model: If vosk-model-small-en-us-0.15 is not found, it is automatically downloaded from Alphacephei on first run. No manual download needed.

Fix mic config path: CONFIG_FILE used a Windows backslash path config\mic_config.json which failed on Linux/macOS and was in the wrong directory. Fixed to use os.path.join pointing to the correct root-level path.

Add setup.sh: Guided setup script that checks Python, creates .env from template, and installs dependencies.

How to start (after this fix)

# 1. Edit helpers/.env with your GROQ_API_KEY
# 2. Run:
python3 main.py

The Vosk model downloads automatically on first run.

…d setup.sh

- Auto-download vosk-model-small-en-us-0.15 if missing
- Fix mic_config.json path (was broken on non-Windows)
- Add setup.sh script for guided setup
- Add better error messages for missing dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

I am confused (help) I did everthing ready but this feels like a flipped slide

1 participant