wAIfu-DEV / w-AI-fu

Talk with or stream using an AI Vtuber [REQUIRES NOVELAI] blazing fast 🔥 READ THE README
GNU General Public License v3.0
126 stars 9 forks source link

Python LLM and TTS issues #44

Closed wAIfu-DEV closed 10 months ago

wAIfu-DEV commented 11 months ago

Discussed in https://github.com/wAIfu-DEV/w-AI-fu/discussions/43

Originally posted by **SpnkThe** October 3, 2023 Hello, so i have a small issue with setting up this program. After successful installation of nodejs and python dependencies with `install.bat`, `run.bat` file gives out a error: ``` w-AI-fu 1.2.9 Loading config informations ... Loading character "Hilda" ... Loading filter ... Getting audio devices ... Spawning subprocesses ... python LLM: Traceback (most recent call last): File "C:\Users\jarek\Desktop\w-AI-fu main\w-AI-fu\novel\novel_llm.py", line 17, in python LLM: from flask import Flask, request, jsonify File "C:\Users\jarek\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\__init__.py", line 5, in from .app import Flask as Flask File "C:\Users\jarek\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 30, in from werkzeug.urls import url_quote ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (C:\Users\jarek\AppData\Local\Programs\Python\Python311\Lib\site-packages\werkzeug\urls.py) python TTS: Traceback (most recent call last): File "C:\Users\jarek\Desktop\w-AI-fu main\w-AI-fu\novel\novel_tts.py", line 10, in python TTS: from flask import Flask, request, jsonify, make_response File "C:\Users\jarek\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\__init__.py", line 5, in python TTS: from .app import Flask as Flask File "C:\Users\jarek\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 30, in from werkzeug.urls import url_quote ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (C:\Users\jarek\AppData\Local\Programs\Python\Python311\Lib\site-packages\werkzeug\urls.py) Critical Error: Could not contact LLM python script after 10s Killing subprocesses ... Exiting w.AI.fu Press any key to continue . . . ``` It's my first time being face to face with coding and at this point i have no clue how this could be fixed, any help? My current python version is 3.11.4 (but i had same error on recomended 3.10.10 version which i deleted entirely) My nodeJS version is 19.8.1
wtfVIKAS commented 11 months ago

i got the same error help plz