Skip to content

ihalage/Speak_with_ChatGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Speak with ChatGPT

A simple Python-only tool to have a voice conversation with ChatGPT. This involves your voice recognition (voice-to-text) and converting ChatGPT response to voice (text-to-voice) using Google Assistant. Modifications and improvements to the code are welcome.

Installation

pip install -r requirements.txt

Note that installing pyaudio using pip may produce errors. In this case, please follow these stack overflow threads (Ubuntu, Mac).

Usage

Obtain your OpenAI API Key from OpenAI website. Then add this key to start_conversation.py (line 17).

You may now start a voice conversation with ChatGPT.

python start_conversation.py

About

Simple python-only code to have a voice conversation with ChatGPT.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages