Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.83 KB

README.md

File metadata and controls

42 lines (29 loc) · 1.83 KB

AI Companion

AI Companion that listens to you and talks to you.

How to Use

You can run it on your laptop or try it out via this website! !

Running on your laptop:

  • Clone the repo: git clone https://github.com/CynapticsAI/AICompanion.git
  • Change Directory: cd AIcompanion
  • Install Requirements: pip install -r requirements.txt
  • Run!: python console.py
  • Optionally, You can run the interface version: python interactive.py

Using the Web Version:

  • Visit website
  • Click on "Record from microphone" and click the "Submit" button
  • Additionally, you can record a fact about the AI, for example, "I am 40 years old", "I have been a teacher for more than 10 years", and click the add fact button to add the fact about the AI.
  • You can also use the text box provided to submit inputs. Type out your message, and press Enter on your keyboard/"Submit" button to submit text.
  • You can also add facts via the text box, simply input the fact in the text box and press add fact.
  • The output will be displayed in the chat interface and audio will be available in the audio block above the buttons.

AIcomp

Components

  • OpenAI Whisper-Tiny : Converts Speech to Text. Implemented Using Huggingface ASR Pipeline
  • PersonaGPT : Responds to User Input. Implemented Using Huggingface Conversational Pipeline.
  • gTTS : Converts Text to Speech. Implemented Using gTTS API.

Contributers