raphox / GPT3VoiceBot

A simple GPT 3 voice chat bot in under 50 lines of code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

https://www.youtube.com/watch?v=74WPFGAADt4

Tips

  • Generate a API key here and update the api_key.py.

  • If you are using Mac, you need to install these dependencies:

    brew install portaudio
    
  • Select a language on:

    # gpt3Bot.py line 26
    user_input = r.recognize_google(audio,language='pt-BR')
    
    # gpt3Bot.py line 42
    engine.setProperty('voice', 'com.apple.voice.compact.pt-BR.Luciana')
  • Could you use the pyttsx3_languages.py to get the list of available language ids in your system.

About

A simple GPT 3 voice chat bot in under 50 lines of code.


Languages

Language:Python 100.0%