NON906 / sd-webui-chatgpt

This is a repository for conversations using OpenAI API (compatible with ChatGPT) or llama.cpp in Stable Diffusion web UI.
MIT License
41 stars 7 forks source link

Can you properly add dependancies into your project? #13

Open larinius opened 5 months ago

larinius commented 5 months ago

Maybe learn how requirements.txt works in Python if you dont know it yet. Using requirements.txt we can install dependancy automatically, just imagin how great! And you also can do same,...

optimum openai langchain_community cchardet gpt_stream_parser <--- These are not istalled, and your code will not run without thes libs. Have a little respect to users, put all garbage into isntaller, why we must do it ourselves?

NON906 commented 5 months ago

When the sd.webui is started, install.py is executed and the installation is performed there. At least it will be done after rebooting, so you shouldn't need to install these manually for normal use.

Or is it that there are not enough dependencies? (At least openai and gpt_stream_parser are present in install.py.)