cjyaddone / chatwaiful2d Goto Github PK
View Code? Open in Web Editor NEWAn Renpy enabled ver of ChatWaifu
License: MIT License
An Renpy enabled ver of ChatWaifu
License: MIT License
步骤:
请问可以加一下server的日志吗?或者哪里可以看到
环境:
报错信息如下:
ERROR (VoskAPI:Model():model.cc:122) Folder 'C:\Users\[我的用户名]\.cache\vosk\vosk-model-small-en-us-0.15.zip' does not contain model files. Make sure you specified the model path properly in Model constructor. If you are not sure about relative path, use absolute path specification.
Traceback (most recent call last):
File "ChatWaifuServer.py", line 70, in <module>
File "vosk\__init__.py", line 57, in __init__
raise Exception("Failed to create a model")
Exception: Failed to create a model
[23620] Failed to execute script 'ChatWaifuServer' due to unhandled exception!
查看.cache\vosk\vosk-model-small-en-us-0.15.zip
,显示压缩文件夹无效.
怀疑是未开启vpn导致的下载出错
ffmpeg已配置好
点击 ChatWaifuServer.exe 有如下报错:
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 11, in script
init python:
File "game/script.rpy", line 11, in script
init python:
File "game/script.rpy", line 19, in
client.connect(ip_port)
ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝,无法连接。
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "D:\Program Files (x86)\ChatWaifuL2D\ChatWaifuGameL2D\renpy\bootstrap.py", line 277, in bootstrap
renpy.main.main()
File "D:\Program Files (x86)\ChatWaifuL2D\ChatWaifuGameL2D\renpy\main.py", line 558, in main
renpy.game.context().run(node)
File "game/script.rpy", line 11, in script
init python:
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/future/utils/init.py", line 441, in raise_
File "game/script.rpy", line 11, in script
init python:
File "D:\Program Files (x86)\ChatWaifuL2D\ChatWaifuGameL2D\renpy\ast.py", line 1131, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "D:\Program Files (x86)\ChatWaifuL2D\ChatWaifuGameL2D\renpy\python.py", line 1061, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/script.rpy", line 19, in
client.connect(ip_port)
ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝,无法连接。
Windows-10-10.0.22000 AMD64
Ren'Py 8.0.3.22090809
ChatWaifuL2D 2.0
Mon Dec 26 21:02:44 2022
报错+加闪退
log.txt 文件的报错信息:
Faled to initialize steam: FileNotFoundError("Could not find module 'C:\ChatWaifuL2D\ChatWaifuGameL2D\lib\py3-windows-x86_64\steam_api64.dll' (or one of its dependencies). Try using the full path with constructor syntax.")
其他:
设置为键盘输入
设置为日语输出
Question Received: 早上好
ChatGPT:
こんにちは。どういたしまして。どういたしましょうか?
Traceback (most recent call last):
File "ChatWaifuServer.py", line 277, in
File "ChatWaifuServer.py", line 204, in generateSound
File "scipy\io\wavfile.py", line 766, in write
PermissionError: [Errno 13] Permission denied: 'output.wav'
[11128] Failed to execute script 'ChatWaifuServer' due to unhandled exception!
Traceback (most recent call last):
File "ChatWaifuServer.py", line 223, in
File "pyChatGPT\pyChatGPT.py", line 70, in init
File "pyChatGPT\pyChatGPT.py", line 112, in _init_browser
File "undetected_chromedriver_init.py", line 242, in init
File "undetected_chromedriver\patcher.py", line 130, in auto
File "undetected_chromedriver\patcher.py", line 166, in fetch_package
File "urllib\request.py", line 280, in urlretrieve
urllib.error.ContentTooShortError: <urlopen error retrieval incomplete: got only 6885414 out of 6904173 bytes>
[27452] Failed to execute script 'ChatWaifuServer' due to unhandled exception!
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 11, in script
init python:
File "game/script.rpy", line 11, in script
init python:
File "game/script.rpy", line 19, in
client.connect(ip_port)
ConnectionRefusedError: [WinError 10061] 対象のコンピューターによって拒否されたため、接続できませんでした。
是还要下载什么依赖吗?
ChatWaifuServer.exe随后提示:
pydub\utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
Traceback (most recent call last):
File "ChatWaifuServer.py", line 65, in
File "sounddevice.py", line 569, in query_devices
sounddevice.PortAudioError: Error querying device -1
[14052] Failed to execute script 'ChatWaifuServer' due to unhandled exception!
完全本地化,用本地跑的模型api来调用
Unfortunately, due to political restrictions imposed by OpenAI on users from Russia, these users can not test your program, because the registration must enter a phone number. I have no ideas myself, but for now you can indicate in the documentation that there are restrictions for users from Russia.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.