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

launch.py: error: unrecognized arguments: --api --port=7822 #76

Closed
CNMagicturtle opened this issue Aug 24, 2023 · 2 comments
Closed

launch.py: error: unrecognized arguments: --api --port=7822 #76

CNMagicturtle opened this issue Aug 24, 2023 · 2 comments

Comments

@CNMagicturtle
Copy link

22:20:48.175 [Init] === StableSwarmUI v0.5.4.0 Starting ===
22:20:48.206 [Init] Prepping extension: StableSwarmUI.Builtin_StabilityAPIExtension.StabilityAPIExtension...
22:20:48.212 [Init] Prepping extension: StableSwarmUI.Builtin_ScorersExtension.ScorersExtension...
22:20:48.212 [Init] Prepping extension: StableSwarmUI.Builtin_GridGeneratorExtension.GridGeneratorExtension...
22:20:48.213 [Init] Prepping extension: StableSwarmUI.Builtin_DynamicThresholding.DynamicThresholdingExtension...
22:20:48.213 [Init] Prepping extension: StableSwarmUI.Builtin_ComfyUIBackend.ComfyUIBackendExtension...
22:20:48.214 [Init] Prepping extension: StableSwarmUI.Builtin_AutoWebUIExtension.AutoWebUIBackendExtension...
22:20:48.230 [Init] Parsing command line...
22:20:48.231 [Init] Loading settings file...
22:20:48.237 [Init] Re-saving settings file...
22:20:48.245 [Init] Applying command line settings...
22:20:48.258 [Init] Prepping options...
22:20:48.316 [Init] Loading models list...
22:20:48.340 [Init] Loading backends...
22:20:48.341 [Init] Loading backends from file...
22:20:48.346 [Init] Initializing backend #2 - ComfyUI Self-Starting...
22:20:48.346 [Init] Prepping API...
22:20:48.346 [Init] Backend request handler loop ready...
22:20:48.347 [Init] Prepping webserver...
22:20:48.431 [Init] Scan for web extensions...
22:20:48.433 [Init] Readying extensions for launch...
22:20:48.433 [Init] Launching server...
22:20:48.433 [Init] Starting webserver on http://localhost:7801
22:20:48.452 [Init] Program is running.
22:20:48.969 [Init] Launch web browser...
22:20:49.437 [Info] Creating new admin session for ::1
Already up to date.
22:20:50.879 [Init] Self-Start ComfyUI on port 7821 is loading...
22:20:57.747 [Init] Self-Start ComfyUI on port 7821 started.
22:20:57.748 [Init] Initializing backend #3 - Auto111 SD-WebUI Self-Starting...
22:20:57.758 [Init] Self-Start AutoWebUI on port 7822 is loading...
usage: launch.py [-h] [--update-all-extensions] [--skip-python-version-check]
[--skip-torch-cuda-test] [--reinstall-xformers]
[--reinstall-torch] [--update-check] [--test-server]
[--skip-prepare-environment] [--skip-install]
[--do-not-download-clip] [--data-dir DATA_DIR]
[--config CONFIG] [--ckpt CKPT] [--ckpt-dir CKPT_DIR]
[--vae-dir VAE_DIR] [--gfpgan-dir GFPGAN_DIR]
[--gfpgan-model GFPGAN_MODEL] [--no-half] [--no-half-vae]
[--no-progressbar-hiding] [--max-batch-count MAX_BATCH_COUNT]
[--embeddings-dir EMBEDDINGS_DIR]
[--textual-inversion-templates-dir TEXTUAL_INVERSION_TEMPLATES_DIR]
[--hypernetwork-dir HYPERNETWORK_DIR]
[--localizations-dir LOCALIZATIONS_DIR] [--allow-code]
[--medvram] [--lowvram] [--lowram]
[--always-batch-cond-uncond] [--unload-gfpgan]
[--precision {full,autocast}] [--upcast-sampling] [--share]
[--ngrok NGROK] [--ngrok-region NGROK_REGION]
[--ngrok-options NGROK_OPTIONS]
[--enable-insecure-extension-access]
[--codeformer-models-path CODEFORMER_MODELS_PATH]
[--gfpgan-models-path GFPGAN_MODELS_PATH]
[--esrgan-models-path ESRGAN_MODELS_PATH]
[--bsrgan-models-path BSRGAN_MODELS_PATH]
[--realesrgan-models-path REALESRGAN_MODELS_PATH]
[--clip-models-path CLIP_MODELS_PATH] [--xformers]
[--force-enable-xformers] [--xformers-flash-attention]
[--deepdanbooru] [--opt-split-attention]
[--opt-sub-quad-attention]
[--sub-quad-q-chunk-size SUB_QUAD_Q_CHUNK_SIZE]
[--sub-quad-kv-chunk-size SUB_QUAD_KV_CHUNK_SIZE]
[--sub-quad-chunk-threshold SUB_QUAD_CHUNK_THRESHOLD]
[--opt-split-attention-invokeai] [--opt-split-attention-v1]
[--opt-sdp-attention] [--opt-sdp-no-mem-attention]
[--disable-opt-split-attention] [--disable-nan-check]
[--use-cpu USE_CPU [USE_CPU ...]] [--listen] [--port PORT]
[--show-negative-prompt] [--ui-config-file UI_CONFIG_FILE]
[--hide-ui-dir-config] [--freeze-settings]
[--ui-settings-file UI_SETTINGS_FILE] [--gradio-debug]
[--gradio-auth GRADIO_AUTH]
[--gradio-auth-path GRADIO_AUTH_PATH]
[--gradio-img2img-tool GRADIO_IMG2IMG_TOOL]
[--gradio-inpaint-tool GRADIO_INPAINT_TOOL]
[--gradio-allowed-path GRADIO_ALLOWED_PATH]
[--opt-channelslast] [--styles-file STYLES_FILE]
[--autolaunch] [--theme THEME] [--use-textbox-seed]
[--disable-console-progressbars] [--enable-console-prompts]
[--vae-path VAE_PATH] [--disable-safe-unpickle] [--api]
[--api-auth API_AUTH] [--api-log] [--nowebui]
[--ui-debug-mode] [--device-id DEVICE_ID] [--administrator]
[--cors-allow-origins CORS_ALLOW_ORIGINS]
[--cors-allow-origins-regex CORS_ALLOW_ORIGINS_REGEX]
[--tls-keyfile TLS_KEYFILE] [--tls-certfile TLS_CERTFILE]
[--disable-tls-verify] [--server-name SERVER_NAME]
[--gradio-queue] [--no-gradio-queue] [--skip-version-check]
[--no-hashing] [--no-download-sd-model] [--subpath SUBPATH]
[--add-stop-route] [--api-server-stop]
[--timeout-keep-alive TIMEOUT_KEEP_ALIVE]
[--lyco-dir LYCO_DIR] [--lyco-patch-lora] [--lyco-debug]
[--ad-no-huggingface]
[--addnet-max-model-count ADDNET_MAX_MODEL_COUNT]
[--controlnet-dir CONTROLNET_DIR]
[--controlnet-annotator-models-path CONTROLNET_ANNOTATOR_MODELS_PATH]
[--no-half-controlnet]
[--controlnet-preprocessor-cache-size CONTROLNET_PREPROCESSOR_CACHE_SIZE]
[--controlnet-loglevel {DEBUG,INFO,WARNING,ERROR,CRITICAL}]
[--deepdanbooru-projects-path DEEPDANBOORU_PROJECTS_PATH]
[--ldsr-models-path LDSR_MODELS_PATH] [--lora-dir LORA_DIR]
[--lyco-dir-backcompat LYCO_DIR_BACKCOMPAT]
[--scunet-models-path SCUNET_MODELS_PATH]
[--swinir-models-path SWINIR_MODELS_PATH]
launch.py: error: unrecognized arguments: --api --port=7822

@CNMagicturtle
Copy link
Author

image
comfyui can work but sdwebui cant

mcmonkey4eva added a commit that referenced this issue Aug 25, 2023
@mcmonkey4eva
Copy link
Contributor

Ah, yep, I see why, outdated code borked it -- fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants