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 }}
|
key: ${{ env.cache-name }}
|
||||||
enableCrossOsArchive: true
|
enableCrossOsArchive: true
|
||||||
|
|
||||||
- name: run configure_invokeai
|
- name: run invokeai-configure
|
||||||
id: run-preload-models
|
id: run-preload-models
|
||||||
env:
|
env:
|
||||||
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGINGFACE_TOKEN }}
|
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGINGFACE_TOKEN }}
|
||||||
run: >
|
run: >
|
||||||
configure_invokeai
|
invokeai-configure
|
||||||
--yes
|
--yes
|
||||||
--default_only
|
--default_only
|
||||||
--full-precision
|
--full-precision
|
||||||
|
@ -91,10 +91,16 @@ dependencies = [
|
|||||||
"test" = ["pytest>6.0.0", "pytest-cov"]
|
"test" = ["pytest>6.0.0", "pytest-cov"]
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
"invoke" = "ldm.invoke.CLI:main"
|
|
||||||
"invoke-configure" = "ldm.invoke.config.configure_invokeai:main"
|
# legacy entrypoints; provided for backwards compatibility
|
||||||
"invoke-merge" = "ldm.invoke.merge_diffusers:main" # note name munging
|
"invoke.py" = "ldm.invoke.CLI:main"
|
||||||
"invoke-ti" = "ldm.invoke.training.textual_inversion: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]
|
[project.urls]
|
||||||
"Homepage" = "https://invoke-ai.github.io/InvokeAI/"
|
"Homepage" = "https://invoke-ai.github.io/InvokeAI/"
|
||||||
|
Loading…
Reference in New Issue
Block a user