Skip to content

Latest commit

 

History

History
113 lines (81 loc) · 3.82 KB

eng-README.md

File metadata and controls

113 lines (81 loc) · 3.82 KB

cover

中文 English 日本語

GitHub PYTHON

This is a chatting Waifu program use VITS & ChatGPT!

Base on:

Effect demonstration BiliBIli:《青春猪头少年不会梦见赛博女友》

Functioning Now:

  • Talking with ChatGPT
  • Convert AI's Response to wav file
  • Multi-Character voice generator
  • Voice Recognition
  • Connect to Marai Robort

Under Construction:

  • Connect to Live2D

Catalogue

1.Install Python Venv:

Install Anaconda or Python>=3.7

This example name the venv:chatWaifu

1.1 Enter project directory with cd command

cd YOUR_PROJECT_RESPORY

1.2 Create Python Venv:

Conda:conda create --name CyberWaifu python=3.10

Python:python -m venv chatWaifu

1.3 Activate created venv:

Conda:conda activate chatWaifu

Python:.\chatWaifu\Scripts\activate.bat

1.4 Install required library with Pip:

pip install -r requirements.txt

2.import pre-trained models to root directory:

Google Drive:https://drive.google.com/file/d/1tMCafhnUoL7FbevVQ44VQi-WznDjt23_/view?usp=sharing

Ali Drive: https://www.aliyundrive.com/s/9JEj1mp1ZRv 提取码: m2y3

2.1Double click model.exe to import Models

3.RUN(Start chatting with CyberWaifu:

Chinese and Japanese Ver:python ChatWaifu_marai.py

3.1 Get marai verify_key and QQ

At the beginning of the program is the configuration area shown below

verify_key filling-in mirai-http-api set verifyKey

QQ fill in the use of the robot QQ

3.2 Get ChatGPT Token

Log in to ChatGPT whith link:https://chat.openai.com

Press F12 to enter command center

Find Application -> cookie -> __Secure-next-auth.session-token

Copy the value into cmd and press ENTER

3.3 Start chatting with CyberWaifu

@ your bot in the group!

4.known issue:

Because of ChatGPT's restrictions, conversations from unregistered usrs are all in one session...

5.Contribution: