text-generation-webui icon indicating copy to clipboard operation
text-generation-webui copied to clipboard

How can I change web port 7860 to another port?

Open union-cmd opened this issue 9 months ago • 1 comments

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.

union-cmd avatar May 09 '24 03:05 union-cmd

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

HamedEmine avatar May 09 '24 16:05 HamedEmine