mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-29 19:09:32 +01:00
31 lines
863 B
Plaintext
31 lines
863 B
Plaintext
Thank you for downloading oobabooga/text-generation-webui.
|
|
|
|
# Installation
|
|
|
|
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
|
|
the same "start" script.
|
|
|
|
# Updating the web UI
|
|
|
|
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
|
|
|
|
Edit the "webui.py" script using a text editor and add the desired flags
|
|
to the CMD_FLAGS variable at the top. It should look like this:
|
|
|
|
CMD_FLAGS = '--chat'
|
|
|
|
For instance, to add the --api flag, change it to
|
|
|
|
CMD_FLAGS = '--chat --api'
|
|
|
|
# Running an interactive shell
|
|
|
|
To run an interactive shell in the miniconda environment, run the "cmd"
|
|
script. This is useful for installing additional requirements manually.
|