GithubHelp home page GithubHelp logo

ikaros-521 / ai-vtuber Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bluecat7417/ai-vtuber

2.3K 23.0 361.0 796.71 MB

AI Vtuber是一个由 【ChatterBot/ChatGPT/claude/langchain/chatglm/text-gen-webui/闻达/千问/kimi/ollama】 驱动的虚拟主播【Live2D/UE/xuniren】,可以在 【Bilibili/抖音/快手/微信视频号/拼多多/斗鱼/YouTube/twitch/TikTok】 直播中与观众实时互动 或 直接在本地进行聊天。它使用TTS技术【edge-tts/VITS/elevenlabs/bark/bert-vits2/睿声】生成回答并可以选择【so-vits-svc/DDSP-SVC】变声;指令协同SD画图。

Home Page: https://ikaros-521.github.io/Luna-Docs/site/

License: GNU General Public License v3.0

Python 98.10% Batchfile 0.14% CSS 0.40% HTML 1.34% Dockerfile 0.01%
ai claude gpt vits tts stable-diffusion python llm bilibili douyin kuaishou live2d svc twitch ue youtube langchain tiktok qanything ollama

ai-vtuber's Introduction

✨ Luna AI ✨

GitHub stars GitHub issues GitHub forks python

Luna AI 是一款结合了最先进技术的虚拟AI主播。它的核心是一系列高效的人工智能模型和平台,包括 ChatterBot、GPT、Claude、langchain、chatglm、text-generation-webui、讯飞星火、智谱AI、谷歌Bard、文心一言、通义星尘、通义千问、千帆大模型、Gemini、Kimi Chat、QAnything、koboldcpp、FastGPT、Ollama、One-API、AnythingLLM、LLM_TPU。这些模型既可以在本地运行,也可以通过云端服务提供支持。当然,为了让对话照进现实,还结合了多模态模型,包括 Gemini、glm-4v 的图像识别能力,获取电脑画面进行分析讲解。

Luna AI 的外观由 Live2D、Vtube Studio、xuniren、UE5 结合 Audio2Face、EasyAIVtuber、数字人视频播放器(Easy-Wav2Lip、Sadtalker、GeneFace++、MuseTalk、本地视频)、metahuman-stream(ernerf、musetalk) 技术打造,为用户提供了一个生动、互动的虚拟形象。这使得 Luna AI 能够在各大直播平台,如 Bilibili、抖音、快手、微信视频号、拼多多、1688、斗鱼、YouTube、Twitch 和 TikTok,进行实时互动直播。当然,它也可以在本地环境中与您进行个性化对话。

为了使交流更加自然,Luna AI 使用了先进的自然语言处理技术,结合文本转语音系统,如 Edge-TTS、VITS-Fast、elevenlabs、bark-gui、VALL-E-X、睿声AI、genshinvoice.top、tts.ai-lab.top、OpenVoice、GPT_SoVITS、clone-voice、Azure TTS、fish-speech、ChatTTS。这不仅让它能够生成流畅的回答,还可以通过 so-vits-svc 和 DDSP-SVC 实现声音的变化,以适应不同的场景和角色。

此外,Luna AI 还能够通过特定指令与 Stable Diffusion 协作,展示画作。用户还可以自定义文案,让 Luna AI 循环播放,以满足不同场合的需求。

本项目完全免费,如有发现一模一样的套壳售卖程序,皆为盗版,请及时止损

▶︎ 视频教程合集 | 📄 在线文档 | 🍉 GitHub | 🍓 Gitee | 🐧 粉丝Q群(密码请看视频)

思维导图

💡 提问的智慧

提交issues前请先阅读以下内容

https://lug.ustc.edu.cn/wiki/doc/smart-questions

🀅 开发&项目相关

简易流程图

image image

License

FOSSA Status 

⭐️ Star 经历

Star History Chart

🤝 贡献

🎉 鸣谢

感谢以下开发者对该项目做出的贡献:

💸 投资方

image

🌏 合作伙伴

青椒云:qingjiaocloud.com ———— AIGC 高性能云桌面

睿声AI:reecho.ai ———— 瞬时创建 超级拟真的 人工智能克隆语音

AIHubMix: aihubmix.com ———— OpenAI,Google,通义千问等大语言模型API代理站

🙌 赞助

🕳️ 黑名单

用户信息 名人名言
QQ:750359376 笑死,连点开源精神都没有

ai-vtuber's People

Contributors

0x648 avatar fataldemon avatar fossabot avatar hildam avatar ikaros-521 avatar kiuolch avatar onlw avatar vantang avatar voveer avatar xiayuxingchen avatar yanyuxiyangzk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ai-vtuber's Issues

🐛 聊天页tts和弹幕回复不同步

您使用的版本? | Your usage version?

main

您使用的python版本&系统环境? | Your usage python version & system?

python:3.10.11
系统:win11

您使用的场景? | Your usage scenarios?

您做了什么操作? | What did you do?

您遇到了什么问题?

在webui上的聊天框输入信息,TTS竟然先使用edge合成一段,然后又使用bert合成了一段,我设置的tts是bert

您期望的结果是怎样的? | What is your expected outcome?

🙋 ModuleNotFoundError: No module named 'blivedm.models.web'; 'blivedm.models' is not a package

Question Report

请在提交问题之前回答这些问题,谢谢。 | Please answer these questions before submitting them. Thank you.

你使用了哪个版本? | Which version did you use?

main

您使用的python版本&系统环境? | Your usage python version & system?

python:3.10.11
系统:win11

预期行为 | Expected behavior

正常运行

实际行为 | Actual behavior

Traceback (most recent call last):
  File "D:\GitHub_pro\AI-Vtuber\bilibili2.py", line 16, in <module>
    import blivedm.models.web as web_models
ModuleNotFoundError: No module named 'blivedm.models.web'; 'blivedm.models' is not a package

原因分析(如果可以) | Cause analysis (if possible)

库版本不对

问题重现步骤 | Steps to reproduce the problem

image

🐛 genshinvoice.top合成语音异常

您使用的版本? | Your usage version?

v0.22.0

您使用的python版本&系统环境? | Your usage python version & system?

例如:
python:3.10.11
系统:win10

您使用的场景? | Your usage scenarios?

webui聊天页面

您做了什么操作? | What did you do?

使用复读机模式生成语音

您遇到了什么问题? | What are your problems?

音频文件播放时出错,使用记事本打开文件内容如下

<!doctype html>
<html lang=en>
<title>500 Internal Server Error</title>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p >

猜测可能是bert-vits2升级至2.0版本导致的接口变动

您期望的结果是怎样的? | What is your expected outcome?

正常生成并播放

🐛 字幕打印机乱码 | [Bug] Some problem...

您使用的版本? | Your usage version?

20230903

您使用的python版本&系统环境? | Your usage python version & system?

python:3.10.11
系统:win10

您使用的场景? | Your usage scenarios?

bilibli直播间

您做了什么操作? | What did you do?

日常直播

您遇到了什么问题? | What are your problems?

字幕打印机乱码,消失速度过快,无法调整

您期望的结果是怎样的? | What is your expected outcome?

解决部分乱码。如果能调一下字体大小或者换行,以及出现消失速度就更好了

使用文案页合成音频时报错,但聊天页可正常合成音频

使用文案页合成音频时报错,但聊天页可正常合成音频

您使用的版本? | Your usage version?

例如:20231015

您使用的python版本&系统环境? | Your usage python version & system?

python:3.10.11
系统:win11

您使用的场景? | Your usage scenarios?

使用文案页合成音频

您做了什么操作? | What did you do?

单机模式下连接 Bert-Vits2 模型,聊天页合成音频正常

您遇到了什么问题? | What are your problems?

点击合成音频报错合成失败,请查看原因“”

您期望的结果是怎样的? | What is your expected outcome?

文案页可正常合成音频
屏幕截图 2023-11-06 001833

主干分支最新code在win11下安装报错

ERROR: Cannot install -r requirements_bilibili.txt (line 27), -r requirements_bilibili.txt (line 5) and aiohttp because these package versions have conflicting dependencies.

The conflict is caused by:
The user requested aiohttp
edge-tts 6.1.6 depends on aiohttp>=3.8.0
bilibili-api 9.1.0 depends on aiohttp~=3.7.4.post0

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

我想应该是 bilibili-api 的版本太旧?

🐛 vits-fast推理时中文内容时,会出现zh前缀

您使用的版本? | Your usage version?

20230825

您使用的python版本&系统环境? | Your usage python version & system?

python:3.10.11
系统:win11

您使用的场景? | Your usage scenarios?

您做了什么操作? | What did you do?

您遇到了什么问题? | What are your problems?

您期望的结果是怎样的? | What is your expected outcome?

🐛 聊天页 ctrl+c会关闭程序问题

您使用的版本? | Your usage version?

例如:20230903

您使用的python版本&系统环境? | Your usage python version & system?

例如:
python:3.10.11
系统:win11

您使用的场景? | Your usage scenarios?

聊天页面

您做了什么操作? | What did you do?

按住CTRL+C

您遇到了什么问题? | What are your problems?

关闭gui

您期望的结果是怎样的? | What is your expected outcome?

不关闭gui

🙋 twitch无法监听到弹幕

Question Report

请在提交问题之前回答这些问题,谢谢。 | Please answer these questions before submitting them. Thank you.

你使用了哪个版本? | Which version did you use?

主线

您使用的python版本&系统环境? | Your usage python version & system?

python:3.10.11
系统:win11

预期行为 | Expected behavior

正常运行

实际行为 | Actual behavior

没有弹幕被捕获

原因分析(如果可以) | Cause analysis (if possible)

未知

问题重现步骤 | Steps to reproduce the problem

自己的token,自己发弹幕

🙋 File ".\flask_api_full_song.py", line 38, in wav2wav out_audio, out_sr = svc_model.infer(spk, tran, raw_path) ValueError: too many values to unpack (expected 2)

Question Report

请在提交问题之前回答这些问题,谢谢。 | Please answer these questions before submitting them. Thank you.

你使用了哪个版本? | Which version did you use?

AI-Vtuber-20230711

您使用的python版本&系统环境? | Your usage python version & system?

py3.10.11
win11

预期行为 | Expected behavior

so-vits-svc4.1正常进行变声

实际行为 | Actual behavior

sovits报错:

File ".\flask_api_full_song.py", line 38, in wav2wav 
out_audio, out_sr = svc_model.infer(spk, tran, raw_path) 
ValueError: too many values to unpack (expected 2)

原因分析(如果可以) | Cause analysis (if possible)

infer返回数据量不匹配

问题重现步骤 | Steps to reproduce the problem

so-vits-svc4.1的整合包,启动.\workenv\python.exe .\flask_api_full_song.py
运行AI Vtuber,聊天页发送 聊天内容,报错

🚀 GUI 聊天页 支持回车发送

您使用的场景? | 1. Your usage scenarios?

本地聊天

您期望的结果是怎样的? | 2. What is your expected outcome?

输入框内按下回车,自动发送文本内容且清空输入框

🙋 b站弹幕监听不到,弹幕丢失

Question Report

请在提交问题之前回答这些问题,谢谢。 | Please answer these questions before submitting them. Thank you.

你使用了哪个版本? | Which version did you use?

AI-Vtuber-20230711

您使用的python版本&系统环境? | Your usage python version & system?

py3.10.11
win11

预期行为 | Expected behavior

b站弹幕正常监听

实际行为 | Actual behavior

正常使用过程中出现

原因分析(如果可以) | Cause analysis (if possible)

监听库问题

问题重现步骤 | Steps to reproduce the problem

正常运行复现

🙋 使用vits-simple-api接入bert-vits2时,报错如下

Question Report

请在提交问题之前回答这些问题,谢谢。 | Please answer these questions before submitting them. Thank you.

你使用了哪个版本? | Which version did you use?

20230825

您使用的python版本&系统环境? | Your usage python version & system?

python:3.10.11
系统:win11

预期行为 | Expected behavior

正常运行

实际行为 | Actual behavior

SWE8@}_TL_Z(F0CRG{K4J9A

原因分析(如果可以) | Cause analysis (if possible)

问题重现步骤 | Steps to reproduce the problem

网上找的模型

星火api报错

配置选择:聊天模式——星火——api appip和两个K也没问题

【报错】更新依赖时报错 ERROR: Cannot install -r requirements_bilibili.txt (line 23), aiohttp and langchain==0.0.142 because these package versions have conflicting dependencies.

aiohttp依赖冲突问题。可以删除requirements_bilibili.txt中的langchain==0.0.142bilibili-api==9.1.0,然后进行重新安装。安装完成后,手动安装这2个库(按顺序安装)。

Miniconda3\python.exe -m pip install bilibili-api==9.1.0
Miniconda3\python.exe -m pip install langchain==0.0.142

AI-Vtuber接入langchain-ChatGLM报错405错误问题

langchain-ChatGLM 安装好了运行启动webui有几个错误提示,内容都差不多,像下面这个, E:\langchain-ChatGLM\webui.py:350: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead. 在网页中chatglm调试都正常
然后接入AI-Vtuber ,提示下面内容 E:\AI-Vtuber\AI-Vtuber-20230903\utils\gpt_model\chatglm.py[line:59] - INFO: 405 Client Error: Method Not Allowed for url: http://127.0.0.1:7862/ 一直报错

请问考虑加入WebUI么?

您使用的场景? | 1. Your usage scenarios?

有性能的设备(A800)在Linux服务器上(CentOS 7)。

您期望的结果是怎样的? | 2. What is your expected outcome?

A webUI.

🐛 聊天页 发送文案后,会出现同时播放2个音频的问题

您使用的版本? | Your usage version?

20231118

您使用的python版本&系统环境? | Your usage python version & system?

python:3.10.11
系统:win11

您使用的场景? | Your usage scenarios?

您做了什么操作? | What did you do?

您遇到了什么问题? | What are your problems?

您期望的结果是怎样的? | What is your expected outcome?

聊天页面增加快捷键

您使用的场景? | 1. Your usage scenarios聊天模式

您期望的结果是怎样的? | 2. What is your expected outcome?

增加复读快捷键。增加·号(esc与tab之间的按键)为录音快捷键

🐛 一些问题。。。 | [Bug] Some problem...

版本

v0.17.0

python版本&系统环境

python:3.10.11
系统:win10

您做了什么操作?

聊天模式进行对话

您遇到了什么问题?

在语音合成后无法输出声音
报错如下
2023-08-16 18:16:50,233 - E:\AI-Vtuber\utils\audio.py[line:451] - INFO: genshinvoice.top合成成功,输出到=./out/genshinvoice_top_92.wav
2023-08-16 18:16:50,263 - E:\AI-Vtuber\utils\common.py[line:318] - INFO: 内容已成功写入文件:log/字幕.txt
2023-08-16 18:16:50,885 - E:\AI-Vtuber\utils\audio.py[line:451] - INFO: genshinvoice.top合成成功,输出到=./out/genshinvoice_top_84.wav
2023-08-16 18:16:50,903 - E:\AI-Vtuber\utils\audio.py[line:594] - ERROR: Traceback (most recent call last):
File "E:\AI-Vtuber\utils\audio.py", line 577, in only_play_audio
voice_tmp_path = self.audio_speed_change(voice_tmp_path, random_speed)
File "E:\AI-Vtuber\utils\audio.py", line 502, in audio_speed_change
audio = AudioSegment.from_file(audio_path)
File "E:\AI-Vtuber\Miniconda3\lib\site-packages\pydub\audio_segment.py", line 728, in from_file
info = mediainfo_json(orig_file, read_ahead_limit=read_ahead_limit)
File "E:\AI-Vtuber\Miniconda3\lib\site-packages\pydub\utils.py", line 274, in mediainfo_json
res = Popen(command, stdin=stdin_parameter, stdout=PIPE, stderr=PIPE)
File "E:\AI-Vtuber\Miniconda3\lib\subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "E:\AI-Vtuber\Miniconda3\lib\subprocess.py", line 1456, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] 系统找不到指定的文件。

您期望的结果是怎样的?

这是环境配置的问题吗,我该如何解决这个(emmm

🐛 本地问答音频库会存在合成日志的情况

您使用的版本? | Your usage version?

20230825

您使用的python版本&系统环境? | Your usage python version & system?

python:3.10.11
系统:win11

您使用的场景? | Your usage scenarios?

正常使用

您做了什么操作? | What did you do?

正常使用

您遇到了什么问题? | What are your problems?

image

您期望的结果是怎样的? | What is your expected outcome?

不合成日志内容

保存配置后没有自动重启 [Errno 2] No such file or directory

您使用的版本? | Your usage version?

20230730

您使用的python版本&系统环境? | Your usage python version & system?

py3.10.11
win11

您使用的场景? | Your usage scenarios?

您做了什么操作? | What did you do?

配置完后点击 保存配置,然后就是以下报错,并且没有自动重启

2023-08-03 17:27:24,700 - D:\GitHub_pro\AI-Vtuber-20230 729\main.py[line:1386] - INFO: 配置数据已成功写入文件!程序将在3秒后重启~
D:\GitHub_pro\AI-Vtuber-20230: can't open file 'D:\\GitHub_pro\\AI-Vtuber-20230 729\\729\\Miniconda3\\python.exe': [Errno 2] No such file or directory

您遇到了什么问题? | What are your problems?

配置完后点击 保存配置,然后就是以下报错,并且没有自动重启

您期望的结果是怎样的? | What is your expected outcome?

配置完后点击 保存配置,正常重启

动态文案切分问题

测试两天动态文案发现个问题 如果直接读文案的话切分没有问题,如果改写的话返回的是一句话一句的合成,中间明显的卡顿感

🐛 一些问题。。。 | [Bug] Some problem...

版本:v0.17.0 或者 20230815

例如:
python:3.10.11
系统:win10

使用命令pip install -r requirements_bilibili.txt 安装环境依赖时报错:
The conflict is caused by:
The user requested aiohttp
edge-tts 6.1.6 depends on aiohttp>=3.8.0
bilibili-api 9.1.0 depends on aiohttp~=3.7.4.post0

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

使用命令pip install -r requirements_common.txt 安装环境依赖时报错:

The conflict is caused by:
The user requested chardet==4.0.0
The user requested chardet==5.1.0

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

请问
pip install -r requirements_bilibili.txt
pip install -r requirements_dy.txt
pip install -r requirements_ks.txt
pip install -r requirements_talk.txt
这四个依赖和requirements_common.txt的关系是什么?安装顺序有要求吗?目前来看版本冲突有点多

🚀 GUI优化

您使用的场景? | 1. Your usage scenarios?配置页部分项目选项过多,例如原神api说话人,检索麻烦

您期望的结果是怎样的? | 2. What is your expected outcome?在选项框中添加搜索的功能

🙋 讯飞星火 报错 version问题

Question Report

请在提交问题之前回答这些问题,谢谢。 | Please answer these questions before submitting them. Thank you.

你使用了哪个版本? | Which version did you use?

main

您使用的python版本&系统环境? | Your usage python version & system?

python:3.10.11
系统:win11

预期行为 | Expected behavior

例如:正常运行

实际行为 | Actual behavior

image

原因分析(如果可以) | Cause analysis (if possible)

库版本问题

问题重现步骤 | Steps to reproduce the problem

例如:贴上配置截图,描述下运行步骤等

动态文案问题

大佬我用的claude2,但是动态文案启动不了,没有反应,是什么情况

录音文件 talk.py

image
image
如果选择的开始录音快捷键为字母,比如我为q,这里有一个大小写的问题,导致后续逻辑执行不到。
另外感觉本地录音模式比较实用,比如我按一个q之后,除了判断冷却时间之外,应该暂时阻塞其他按键,再按一个s可以结束录音监听,下次按q再把进程起起来。。
现模式主要是有这样一个问题,比如我调试的时候,按了f8下一步,发现循环又进来这个方法了,现在一直在监听,有点套娃
image
以上纯属个人意见,改不改无所谓

ERROR: list index out of range

您使用的版本? | Your usage version?

0.16.0

您使用的python版本&系统环境? | Your usage python version & system?

3.10.11

您使用的场景? | Your usage scenarios?

哔哩哔哩直播

您做了什么操作? | What did you do?

edge-tts合成

您遇到了什么问题? | What are your problems?

您期望的结果是怎样的? | What is your expected outcome?

合成失败,有没有解决办法

2023-08-07 04:09:32,317 - D:\Program Portable\AI-Vtuber\utils\my_handle.py[line:757] - INFO: [AI回复]:一斤铁和 一斤棉花的重量是相同的。因为一斤是一个固定的质量单位,等于16盎司,无论是铁还是棉花,它们的重量都是一斤。
2023-08-07 04:09:32,505 - D:\Program Portable\AI-Vtuber\utils\audio.py[line:362] - ERROR: list index out of range

文案语音合成失败

报错信息2023-10-09 18:46:01,361 - C:\AI-Vtuber\AI-Vtuber-20230924\talk.py[line:262] - INFO: 检测到单击键盘 s,即将停止录音~
2023-10-09 18:46:27,138 - C:\AI-Vtuber\AI-Vtuber-20230924\talk.py[line:262] - INFO: 检测到单击键盘 s,即将停止录音~
2023-10-09 18:46:30,636 - C:\AI-Vtuber\AI-Vtuber-20230924\main.py[line:3482] - INFO: 准备加载 文件:[test.txt]
2023-10-09 18:46:30,636 - C:\AI-Vtuber\AI-Vtuber-20230924\utils\common.py[line:339] - WARNING: 文件不存在,将创建新文件: test.txt
2023-10-09 18:46:30,636 - C:\AI-Vtuber\AI-Vtuber-20230924\main.py[line:3493] - INFO: 成功加载文案:test.txt
2023-10-09 18:46:31,902 - C:\AI-Vtuber\AI-Vtuber-20230924\main.py[line:3615] - INFO: 刷新文件列表
2023-10-09 18:46:45,321 - C:\AI-Vtuber\AI-Vtuber-20230924\main.py[line:3482] - INFO: 准备加载 文件:[吐槽.txt]
2023-10-09 18:46:45,322 - C:\AI-Vtuber\AI-Vtuber-20230924\utils\common.py[line:339] - WARNING: 文件不存在,将创建新文件: 吐槽.txt
2023-10-09 18:46:45,322 - C:\AI-Vtuber\AI-Vtuber-20230924\main.py[line:3493] - INFO: 成功加载文案:吐槽.txt
2023-10-09 18:46:46,400 - C:\AI-Vtuber\AI-Vtuber-20230924\main.py[line:3615] - INFO: 刷新文件列表
2023-10-09 18:47:00,008 - C:\AI-Vtuber\AI-Vtuber-20230924\main.py[line:3482] - INFO: 准备加载 文件:[data/copywriting/吐槽.txt]
2023-10-09 18:47:00,009 - C:\AI-Vtuber\AI-Vtuber-20230924\main.py[line:3493] - INFO: 成功加载文案:data/copywriting/吐槽.txt
2023-10-09 18:47:02,240 - C:\AI-Vtuber\AI-Vtuber-20230924\main.py[line:3615] - INFO: 刷新文件列表
2023-10-09 18:47:05,777 - C:\AI-Vtuber\AI-Vtuber-20230924\utils\audio.py[line:867] - INFO: 即将合成的文案:data/copywriting/吐槽.txt
2023-10-09 18:47:05,777 - C:\AI-Vtuber\AI-Vtuber-20230924\utils\audio.py[line:851] - ERROR: 没有找到要合并的音频文件
2023-10-09 18:47:05,777 - C:\AI-Vtuber\AI-Vtuber-20230924\utils\audio.py[line:1060] - INFO: 合成完毕后的音频位于 C:\AI-Vtuber\AI-Vtuber-20230924\out/吐槽.wav
2023-10-09 18:47:05,778 - C:\AI-Vtuber\AI-Vtuber-20230924\utils\audio.py[line:1063] - INFO: 移动音频到 C:\AI-Vtuber\AI-Vtuber-20230924\out/copywriting/
2023-10-09 18:47:05,779 - C:\AI-Vtuber\AI-Vtuber-20230924\utils\audio.py[line:1069] - ERROR: Traceback (most recent call last):
File "C:\AI-Vtuber\AI-Vtuber-20230924\Miniconda3\lib\shutil.py", line 816, in move
os.rename(src, real_dst)
FileNotFoundError: [WinError 2] 系统找不到指定的文件。: 'C:\AI-Vtuber\AI-Vtuber-20230924\out/吐槽.wav' -> 'C:\AI-Vtuber\AI-Vtuber-20230924\out/copywriting\吐槽.wav'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\AI-Vtuber\AI-Vtuber-20230924\utils\audio.py", line 1064, in copywriting_synthesis_audio
self.common.move_file(file_path, out_file_path)
File "C:\AI-Vtuber\AI-Vtuber-20230924\utils\common.py", line 399, in move_file
shutil.move(source_path, destination_path)
File "C:\AI-Vtuber\AI-Vtuber-20230924\Miniconda3\lib\shutil.py", line 836, in move
copy_function(src, real_dst)
File "C:\AI-Vtuber\AI-Vtuber-20230924\Miniconda3\lib\shutil.py", line 434, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "C:\AI-Vtuber\AI-Vtuber-20230924\Miniconda3\lib\shutil.py", line 254, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\AI-Vtuber\AI-Vtuber-20230924\out/吐槽.wav'

2023-10-09 18:47:05,780 - C:\AI-Vtuber\AI-Vtuber-20230924\main.py[line:3668] - ERROR: 合成失败!请排查原因

🙋 1.智谱AI弹幕斜杠产生的乱码。 2.违禁词不能提前触达导致的生成内容和弹幕朗读(以及恶意关闭) 3.本地库的模糊调用效果不佳,且弹幕姬与读弹无生成。 4.问题前预输入文字是否可更改为能及时调整或批次输入。

Question Report

请在提交问题之前回答这些问题,谢谢。 | Please answer these questions before submitting them. Thank you.

你使用了哪个版本? | Which version did you use?

20230903

您使用的python版本&系统环境? | Your usage python version & system?

例如:
python:3.10.16
系统:win10

预期行为 | Expected behavior

稳定运行

实际行为 | Actual behavior

1.智谱AI弹幕斜杠产生的乱码。
2.违禁词不能提前触达导致的生成内容和弹幕朗读(以及恶意关闭)
3.本地库的模糊调用效果不佳,且弹幕姬与读弹无生成。
4.问题前预输入文字是否可更改为能及时调整或批次输入。

原因分析(如果可以) | Cause analysis (if possible)

1.智谱家的脑贪传递导致的,这边已经反馈给他们的工作人员但是收效甚微,烦请给个过滤。
2.违禁词只在朗读回复时触发,问题会直接念出来,建议更改为问题+答案检索或直接屏蔽问题,不然读出来不回复怪尴尬的,还能被关闭指令直接给llm关了。
3.本地库的参数不太能做到类似问题触发,相关问题也送不到LLM里面,所以建议参考随机生成的方式先预输入进llm,说不定效果会比较好(对于一些喜欢胡扯但是有文档记忆的llm有奇效)。综上,如果懒得搞建议做个空白的对api输入的调教窗口,这玩意儿比预输入估计要强上不少还省事儿,啥玩意儿都能往里扔。
4.请参考3提出的相关建议或做个可及时更改的。

🙋 b站弹幕无法获取到用户全名

Question Report

请在提交问题之前回答这些问题,谢谢。 | Please answer these questions before submitting them. Thank you.

你使用了哪个版本? | Which version did you use?

20230825

您使用的python版本&系统环境? | Your usage python version & system?

python:3.10.11
系统:win11

预期行为 | Expected behavior

正常获取

实际行为 | Actual behavior

用户名:L*****

原因分析(如果可以) | Cause analysis (if possible)

b站接口变动

问题重现步骤 | Steps to reproduce the problem

直接运行复现

🙋 GUI卡顿,性能问题讨论帖

Question Report

请在提交问题之前回答这些问题,谢谢。 | Please answer these questions before submitting them. Thank you.

你使用了哪个版本? | Which version did you use?

v0.19.0

您使用的python版本&系统环境? | Your usage python version & system?

python:3.10.11
系统:win11

预期行为 | Expected behavior

低配服务器也能流畅运行

实际行为 | Actual behavior

GUI运行后,页面卡顿

原因分析(如果可以) | Cause analysis (if possible)

pyqt刷新机制、sleep等

问题重现步骤 | Steps to reproduce the problem

直接复现

🙋 b站 模式下无法获取到弹幕

Question Report

请在提交问题之前回答这些问题,谢谢。 | Please answer these questions before submitting them. Thank you.

你使用了哪个版本? | Which version did you use?

20230806

您使用的python版本&系统环境? | Your usage python version & system?

python:3.10.11
系统:win11

预期行为 | Expected behavior

正常捕获弹幕

实际行为 | Actual behavior

无弹幕 无日志

原因分析(如果可以) | Cause analysis (if possible)

监听库获取不到弹幕

问题重现步骤 | Steps to reproduce the problem

直接运行

希望添加积分排行榜网页前端

您使用的场景? | 1. Your usage scenarios?

您期望的结果是怎样的? | 2. What is your expected outcome?

希望添加积分排行榜网页前端

🙋 qt.qpa.plugin: Could not find the Qt platform plugin "windows" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Question Report

请在提交问题之前回答这些问题,谢谢。 | Please answer these questions before submitting them. Thank you.

你使用了哪个版本? | Which version did you use?

20230729

您使用的python版本&系统环境? | Your usage python version & system?

python:v3.10.11
系统:win11

预期行为 | Expected behavior

正常运行

实际行为 | Actual behavior

报错闪退

原因分析(如果可以) | Cause analysis (if possible)

问题重现步骤 | Steps to reproduce the problem

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.