start.bat 539 B

123456789101112131415161718192021222324
  1. @echo off
  2. cd /d %~dp0
  3. REM Check if the venv directory exists
  4. if not exist test_env\Scripts\python.exe (
  5. echo Creating VENV
  6. python -m venv test_env
  7. ) else (
  8. echo VENV already exists
  9. )
  10. :: OpenAI API Key https://platform.openai.com/
  11. set OPENAI_API_KEY=
  12. :: Microsoft Azure API Key https://portal.azure.com/
  13. set AZURE_SPEECH_KEY=
  14. :: Elevenlabs API Key https://www.elevenlabs.io/Elevenlabs
  15. set ELEVENLABS_API_KEY=
  16. echo Activating VENV
  17. start cmd /k "call test_env\Scripts\activate.bat && python ui_openai_voice_interface.py"