2023-04-18 07:30:47 +02:00
|
|
|
Thank you for downloading oobabooga/text-generation-webui.
|
|
|
|
|
|
|
|
# Installation
|
|
|
|
|
2023-05-10 23:00:37 +02:00
|
|
|
Run the "start" script. If all goes right, it should take care of
|
|
|
|
everything for you.
|
|
|
|
|
|
|
|
To launch the web UI in the future after it is already installed, run
|
|
|
|
this same "start" script.
|
2023-04-18 07:30:47 +02:00
|
|
|
|
2023-06-01 06:20:56 +02:00
|
|
|
# Updating the web UI
|
2023-04-18 07:30:47 +02:00
|
|
|
|
|
|
|
Run the "update" script. This will only install the updates, so it should
|
|
|
|
be much faster than the initial installation.
|
|
|
|
|
|
|
|
# Adding flags like --chat, --notebook, etc
|
|
|
|
|
2023-04-23 17:58:14 +02:00
|
|
|
Edit the "webui.py" script using a text editor and add the desired flags
|
2023-05-10 23:00:37 +02:00
|
|
|
to the CMD_FLAGS variable at the top. It should look like this:
|
2023-04-18 07:30:47 +02:00
|
|
|
|
2023-06-01 06:20:56 +02:00
|
|
|
CMD_FLAGS = '--chat'
|
2023-04-18 07:30:47 +02:00
|
|
|
|
2023-06-01 06:20:56 +02:00
|
|
|
For instance, to add the --api flag, change it to
|
2023-04-18 07:30:47 +02:00
|
|
|
|
2023-06-01 06:20:56 +02:00
|
|
|
CMD_FLAGS = '--chat --api'
|
2023-04-18 07:30:47 +02:00
|
|
|
|
|
|
|
# Running an interactive shell
|
|
|
|
|
2023-05-10 23:00:37 +02:00
|
|
|
To run an interactive shell in the miniconda environment, run the "cmd"
|
|
|
|
script. This is useful for installing additional requirements manually.
|