Skip to content

This code is designed to read chat messages from YouTube and Hearing from microphone and then utilize Bard language model to generate responses. The output from Bard is then read out loud using a TTS (Text-to-Speech) engine provided by pyttsx3.

License

Notifications You must be signed in to change notification settings

Fadlay/Bard-Tuber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-Tuber

This code is designed to read chat messages from YouTube and then utilize Bard language model to generate responses. The output from Bard is then read out loud using a TTS (Text-to-Speech) engine provided by silero.

Setup

Install dependencies

git clone https://github.com/Fadlay/Bard-Tuber.git
cd Bard-Tuber
pip install -r requirements.txt

It also requires ffmpeg to be installed

Usage

Edit the Token in run.py

Token is the API key for BardAI. Found here Go to https://bard.google.com/

F12 for console
Copy the values
    Session: Go to Application → Cookies → __Secure-1PSID. Copy the value of that cookie.

Edit the start.bat put video yt-id or run run.py

Notes

Replace STREAMID with the stream's ID that you can find on the Youtube Stream link

Other

I used This VTS plugin to make her mouth move

Please note that this project was created solely for fun and as part of a YouTube video, so the quality and reliability of the code may be questionable. Also, after the completion of the project checklist, there won't be much activity in updating or improving this repository. Nonetheless, we hope that this project can serve as a source of inspiration for anyone interested in building their own AI Vtuber.

  • Clean up
  • GUI
  • Executables (exe, bat or sh)
  • Extra features (maybe) (Prompt injection protection, questions only mode, virtual audio)

credit

https://github.com/Koischizo/AI-Vtuber

About

This code is designed to read chat messages from YouTube and Hearing from microphone and then utilize Bard language model to generate responses. The output from Bard is then read out loud using a TTS (Text-to-Speech) engine provided by pyttsx3.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published