Skip to content

Latest commit

 

History

History
102 lines (74 loc) · 3.74 KB

eng-README.md

File metadata and controls

102 lines (74 loc) · 3.74 KB

cover

中文 English 日本語

GitHub PYTHON

This is a chatting Waifu program based on VITS & ChatGPT!

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

Functioning Now:

Catalogue

This project assumes that you are using chrome explorer

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 chatWaifu 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:

Japanese Ver:python ChatWaifuJP.py

Chinese Ver:python ChatWaifuCN.py

Japanese voice conversation Ver(use Chinese):python ChatWaifuJPVoice.py

Chinese voice conversation Ver(use Chinese):python ChatWaifuCNVoice.py

Japanese voice conversation Ver(use English):python ChatWaifuJPVoiceEN.py

Japanese voice conversation Ver(use Japanese):python ChatWaifuJPVoiceJP.py

3.1 Get ChatGPT Token

Press F12 to enter command center

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

Copy the value into cmd and press ENTER

3.2 Start chatting with CyberWaifu

voice conversation Ver: Start talking when the console prompts "You:" and then the sentence is recorded and sent to the ChatGPT conversation.

4.Contribution: