Skip to content
Proyectos

Acerca de

Combina ChatGPT con Moegoe TTS para crear una waifu con la que conversar.

Herramientas de desarrollo

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
Recopilando historial
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

cover

中文 English 日本語

GitHub PYTHON

这是一个使用TTS+VITS的ChatGPT语音对话程序!

效果演示BiliBIli:《青春猪头少年不会梦见赛博女友》

当前支持功能:

目录

本项目均默认使用Chrome浏览器

1.安装环境:

安装anaconda环境或Python>=3.7

本例使用的环境名称是:chatWaifu

1.1 使用cd命令进入项目文件夹

cd 你的项目路径

1.2 创建Python虚拟环境:

Conda:conda create --name chatWaifu python=3.10 Python:python -m venv chatWaifu

1.3 进入创建好的虚拟环境:

Conda:conda activate chatWaifu

Python:.\chatWaifu\Scripts\activate.bat

1.4 pip安装项目所需要的库文件:

pip install -r requirements.txt

2.导入模型到根目录model文件夹:

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

阿里云盘: https://www.aliyundrive.com/s/9JEj1mp1ZRv 提取码: m2y3

2.1移动到项目根目录下双击导入model

3.运行(快和老婆们对话吧:

打字输入版:python ChatWaifu.py

语音对话版(日语和英语输入默认日语输出):python ChatWaifuVoice.py

以下也可以使用,每个文件只对应一种语音输出输入模式

打字日语版:python ChatWaifuJP.py

打字中文版:python ChatWaifuCN.py

日语语音对话版(使用中文):python ChatWaifuJPVoice.py

中文语音对话版(使用中文):python ChatWaifuCNVoice.py

日文语音对话版(使用英文):python ChatWaifuJPVoiceEN.py

日语语音对话版(使用日文):python ChatWaifuJPVoiceJP.py

3.1 获取ChatGPT Token

在浏览器登入https://chat.openai.com

按F12进入开发控制台

找到 应用程序 -> cookie -> __Secure-next-auth.session-token

将值复制进入终端并回车

3.2 开始和CyberWaifu聊天!!!

语音对话版: 当控制台提示"You:"时开始说话,说完并出现句子录音结束并发送到ChatGPT对话。

附赠:ChatGPT 中文调教指南

4.鸣谢:

Explorar proyectos relacionados

Cargando…