/Whisper-GPT

This is a small project that enables user to chat with GPT using voice, through OpenAI's whisper

Primary LanguagePython

Whisper-GPT

This is a program built to build a closed loop where, user can chat with chatgpt using voice using OpenAI's whisper

Setup:

  1. use requirements.txt file to install dependencies
  2. Enter your OpenAI credentials in testgpt.py

image

  1. Use the below steps
    • First upgrade the revchat gpt
      pip3 install revChatGPT==0.0.a42

    • Then change the config as below to enter your session token

      • This requires chrome browser
    • Please find the detailed steps to obtain the tokens here


image

Code Run:

  1. Run the code from speakwithchatGPT.py

    image
  2. Choose the option

    image

To-Do's

  • Add option for T.T.S. probably pyttsx3
  • Create an executable file, for easy sharing
  • Take yes/no through voice for continued response
  • Clean up the codespace

I would like to thank the brilliant work from OpenAI and also acheong08, without whose work this would have been impossible

  1. Whisper
  2. revChatGPT

Star History

Star History Chart