text-generation-webui
text-generation-webui copied to clipboard
How can I change web port 7860 to another port?
Description
A clear and concise description of what you want to be implemented.
Additional Context
If applicable, please provide any extra information, external links, or screenshots that could be useful.
Edit CMD_FLAGS.txt in the root folder Add this line: --listen --listen-port=1234
(Change 1234 to the port of your choosing)
Here is an example of CMD_FLAGS.txt
# Only used by the one-click installer.
# Example:
# --listen --api
# --model-dir=R:/models
--api --listen --listen-port=1234 --verbose --extensions=api --model=WizardLM-2-7B --model_type llama