mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
(scripts) improved script entrypoints
This commit is contained in:
parent
f1f8ce604a
commit
abe4e1ea91
4
.github/workflows/test-invoke-pip.yml
vendored
4
.github/workflows/test-invoke-pip.yml
vendored
@ -107,12 +107,12 @@ jobs:
|
||||
key: ${{ env.cache-name }}
|
||||
enableCrossOsArchive: true
|
||||
|
||||
- name: run configure_invokeai
|
||||
- name: run invokeai-configure
|
||||
id: run-preload-models
|
||||
env:
|
||||
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGINGFACE_TOKEN }}
|
||||
run: >
|
||||
configure_invokeai
|
||||
invokeai-configure
|
||||
--yes
|
||||
--default_only
|
||||
--full-precision
|
||||
|
@ -91,10 +91,16 @@ dependencies = [
|
||||
"test" = ["pytest>6.0.0", "pytest-cov"]
|
||||
|
||||
[project.scripts]
|
||||
"invoke" = "ldm.invoke.CLI:main"
|
||||
"invoke-configure" = "ldm.invoke.config.configure_invokeai:main"
|
||||
"invoke-merge" = "ldm.invoke.merge_diffusers:main" # note name munging
|
||||
"invoke-ti" = "ldm.invoke.training.textual_inversion:main"
|
||||
|
||||
# legacy entrypoints; provided for backwards compatibility
|
||||
"invoke.py" = "ldm.invoke.CLI:main"
|
||||
"configure_invokeai.py" = "ldm.invoke.config.configure_invokeai:main"
|
||||
|
||||
# modern entrypoints
|
||||
"invokeai" = "ldm.invoke.CLI:main"
|
||||
"invokeai-configure" = "ldm.invoke.config.configure_invokeai:main"
|
||||
"invokeai-merge" = "ldm.invoke.merge_diffusers:main" # note name munging
|
||||
"invokeai-ti" = "ldm.invoke.training.textual_inversion:main"
|
||||
|
||||
[project.urls]
|
||||
"Homepage" = "https://invoke-ai.github.io/InvokeAI/"
|
||||
|
Loading…
Reference in New Issue
Block a user