Add --nowebui flag for pure API mode (#4651)

This commit is contained in:
oobabooga 2023-11-18 23:38:39 -03:00 committed by GitHub
parent 0fa1af296c
commit ef6feedeb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 22 additions and 11 deletions

View file

@ -414,6 +414,7 @@ Optionally, you can use the following command-line flags:
| `--api-port API_PORT` | The listening port for the API. |
| `--api-key API_KEY` | API authentication key. |
| `--admin-key ADMIN_KEY` | API authentication key for admin tasks like loading and unloading models. If not set, will be the same as --api-key. |
| `--nowebui` | Do not launch the Gradio UI. Useful for launching the API in standalone mode. |
#### Multimodal