Add --listen-host launch option (#1122)

This commit is contained in:
v0xie 2023-04-13 17:35:08 -07:00 committed by GitHub
parent 403be8a27f
commit 9d66957207
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View file

@ -265,6 +265,7 @@ Optionally, you can use the following command-line flags:
| Flag | Description |
|---------------------------------------|-------------|
| `--listen` | Make the web UI reachable from your local network. |
| `--listen-host LISTEN_HOST` | The hostname that the server will use. |
| `--listen-port LISTEN_PORT` | The listening port that the server will use. |
| `--share` | Create a public URL. This is useful for running the web UI on Google Colab or similar. |
| `--auto-launch` | Open the web UI in the default browser upon launch. |