chrisrude / oobabot-plugin

A Discord bot plugin to text-generation-webui, based on oobabot.
https://github.com/chrisrude/oobabot
MIT License
40 stars 11 forks source link

Easy how 2 #49

Open sigma7eaven opened 2 months ago

sigma7eaven commented 2 months ago

Conda into TGUI folder Git clone into repository install requirements but step 3. explanation breaks down completely and assumes you know how to do this stuff lol.

Then just run "this" to create the oobabot plugin directory (./extensions/oobabot) and install the plugin's hook (script.py) into the Oobabooga server:

oobabot-plugin install

What am I running here? \text-generation-webui> ./extensions/oobabot '.' is not recognized as an internal or external command, operable program or batch file.

text-generation-webui>oobabot Please set the 'DISCORD_TOKEN' environment variable to your bot's discord token.

sigma7eaven commented 2 months ago

Found Clues Attempting uninstall: gradio Found existing installation: gradio 3.33.1 Uninstalling gradio-3.33.1: Successfully uninstalled gradio-3.33.1 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. oobabot-plugin 0.2.3 requires fastapi<0.100.0,>=0.99.1, but you have fastapi 0.110.2 which is incompatible. oobabot-plugin 0.2.3 requires gradio<3.34.0,>=3.33.1, but you have gradio 4.26.0 which is incompatible. oobabot-plugin 0.2.3 requires gradio-client==0.2.5, but you have gradio-client 0.15.1 which is incompatible. tts 0.22.0 requires pandas<2.0,>=1.4, but you have pandas 2.2.2 which is incompatible.

BenevolenceMessiah commented 2 weeks ago

Conda into TGUI folder Git clone into repository install requirements but step 3. explanation breaks down completely and assumes you know how to do this stuff lol.

Then just run "this" to create the oobabot plugin directory (./extensions/oobabot) and install the plugin's hook (script.py) into the Oobabooga server:

oobabot-plugin install

What am I running here? \text-generation-webui> ./extensions/oobabot '.' is not recognized as an internal or external command, operable program or batch file.

text-generation-webui>oobabot Please set the 'DISCORD_TOKEN' environment variable to your bot's discord token.

As far as this goes, you need to

  1. clone the repo into extensions. which you did.
  2. open the conda environment (cmd_windows.bat), navigate to the directory (i.e. cd extensions, then cd oobabot-plugin, then pip install -r requirements.txt. Then as I recall, you run the command oobabot-plugin install. As I recall, you'll want to do this in the root of the conda environment. So either navigate back or close and then open the cmd_wibdows,bat and run oobabot-plugin install.