Update INSTRUCTIONS.TXT

This commit is contained in:
oobabooga 2023-05-10 18:00:37 -03:00 committed by GitHub
parent d7d3f7f31c
commit 4ab5deeea0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,11 @@ Thank you for downloading oobabooga/text-generation-webui.
# Installation # Installation
Simply run the "start" script. 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.
# Updating # Updating
@ -15,16 +19,15 @@ folder if GPTQ-for-LLaMa needs to be updated.
# Adding flags like --chat, --notebook, etc # Adding flags like --chat, --notebook, etc
Edit the "webui.py" script using a text editor and add the desired flags Edit the "webui.py" script using a text editor and add the desired flags
to the line that says to the CMD_FLAGS variable at the top. It should look like this:
run_cmd("python server.py --chat --model-menu") CMD_FLAGS = '--chat --model-menu'
For instance, to add the --notebook flag, change it to For instance, to add the --notebook flag, change it to
run_cmd("python server.py --notebook --model-menu") CMD_FLAGS = '--notebook --model-menu'
# Running an interactive shell # Running an interactive shell
In order to run an interactive shell in the miniconda environment, run To run an interactive shell in the miniconda environment, run the "cmd"
the "cmd" script. This is useful for installing additional requirements script. This is useful for installing additional requirements manually.
manually.