Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue]: Cant run webui.sh with --api #3650

Open
2 tasks done
bboyles303 opened this issue Dec 23, 2024 · 1 comment
Open
2 tasks done

[Issue]: Cant run webui.sh with --api #3650

bboyles303 opened this issue Dec 23, 2024 · 1 comment
Labels
question Further information is requested

Comments

@bboyles303
Copy link

bboyles303 commented Dec 23, 2024

Issue Description

with a fresh pull on Ubuntu 24.04, any attempt to do the initial install va webui.sh fails (regardless of arguments) with:

./webui.sh --debug --use-rocm
Activate python venv: /home/user/automatic/venv
Launch: venv/bin/python3
usage: [-h] [--backend {original,diffusers}] [--config CONFIG] [--ui-config UI_CONFIG] [--medvram] [--lowvram] [--freeze] [--ckpt CKPT] [--data-dir DATA_DIR] [--models-dir MODELS_DIR] [--no-hashing]
[--no-metadata] [--disable-queue] [--device-id DEVICE_ID] [--server-name SERVER_NAME] [--tls-keyfile TLS_KEYFILE] [--tls-certfile TLS_CERTFILE] [--tls-selfsign] [--cors-origins CORS_ORIGINS]
[--cors-regex CORS_REGEX] [--subpath SUBPATH] [--autolaunch] [--auth AUTH] [--auth-file AUTH_FILE] [--api-only] [--allowed-paths ALLOWED_PATHS [ALLOWED_PATHS ...]] [--share] [--insecure]
[--listen] [--port PORT] [--reset] [--upgrade] [--requirements] [--reinstall] [--optional] [--uv] [--quick] [--skip-requirements] [--skip-extensions] [--skip-git] [--skip-torch] [--skip-all]
[--skip-env] [--use-directml] [--use-openvino] [--use-ipex] [--use-cuda] [--use-rocm] [--use-zluda] [--use-xformers] [--safe] [--experimental] [--test] [--version] [--ignore] [--log LOG]
[--debug] [--profile] [--docs] [--api-log]
: error: argument --api: expected one argument

Version Platform Description

No response

Relevant log output

No response

Backend

Diffusers

UI

Standard

Branch

Master

Model

StableDiffusion 1.5

Acknowledgements

  • I have read the above and searched for existing issues
  • I confirm that this is classified correctly and its not an extension issue
@vladmandic
Copy link
Owner

where does --api param come from? sdnext does not have it for a long time. did you edit the webui.sh or anything like that?

@vladmandic vladmandic added the question Further information is requested label Dec 24, 2024
@vladmandic vladmandic changed the title [Issue]: Can't run webui.sh [Issue]: Cant run webui.sh with --api Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants