Skip to content

ag8/doemod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOE Mod

An automatic Science Bowl moderator. Uses ScibowlDB to get questions, Whisper for speech recognition, and ChatGPT for checking answers (when they can't be decided locally).

Installation

This only works on Mac right now, but everything is cross-platform except the say command. The speech recognition runs locally and may take a bit on older Macs.

  1. Create an OpenAI API key
  2. Run open ~/.zshrc in Terminal
  3. Paste export OPENAI_API_KEY='your-api-key-here' at the bottom and save
  4. Run cd ~/Downloads && git clone https://github.com/ag8/doemod.git && cd doemod
  5. Run brew install portaudio (using Homebrew)
  6. Run pip install -r requirements.txt

Running

  1. Run python moderator_server.py
  2. Connect to the server on each device you want to buzz from. They need to be on the same WiFi network as the server.

Roadmap

Let us know what features you'd like to see prioritized!

  • Proper equation reading
  • Better speech synth with StyleTTS2
  • Option to call Whisper API
  • Option to use local LLM to check answers
  • Compete against LLMs for the buzzer
  • Browser GUI
  • Round settings (# of questions, categories)
  • Quiz bowl
  • Cross-platform support
  • Potentially run in browser with whisper.cpp WASM

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •