Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
31e60adb
Commit
31e60adb
authored
Apr 20, 2023
by
comfyanonymous
Browse files
Add GLIGEN example to README.
parent
96b57a9a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
README.md
README.md
+1
-0
nodes.py
nodes.py
+2
-2
No files found.
README.md
View file @
31e60adb
...
@@ -25,6 +25,7 @@ This ui will let you design and execute advanced stable diffusion pipelines usin
...
@@ -25,6 +25,7 @@ This ui will let you design and execute advanced stable diffusion pipelines usin
-
[
ControlNet and T2I-Adapter
](
https://comfyanonymous.github.io/ComfyUI_examples/controlnet/
)
-
[
ControlNet and T2I-Adapter
](
https://comfyanonymous.github.io/ComfyUI_examples/controlnet/
)
-
[
Upscale Models (ESRGAN, ESRGAN variants, SwinIR, Swin2SR, etc...)
](
https://comfyanonymous.github.io/ComfyUI_examples/upscale_models/
)
-
[
Upscale Models (ESRGAN, ESRGAN variants, SwinIR, Swin2SR, etc...)
](
https://comfyanonymous.github.io/ComfyUI_examples/upscale_models/
)
-
[
unCLIP Models
](
https://comfyanonymous.github.io/ComfyUI_examples/unclip/
)
-
[
unCLIP Models
](
https://comfyanonymous.github.io/ComfyUI_examples/unclip/
)
-
[
GLIGEN
](
https://comfyanonymous.github.io/ComfyUI_examples/gligen/
)
-
Starts up very fast.
-
Starts up very fast.
-
Works fully offline: will never download anything.
-
Works fully offline: will never download anything.
-
[
Config file
](
extra_model_paths.yaml.example
)
to set the search paths for models.
-
[
Config file
](
extra_model_paths.yaml.example
)
to set the search paths for models.
...
...
nodes.py
View file @
31e60adb
...
@@ -498,7 +498,7 @@ class GLIGENLoader:
...
@@ -498,7 +498,7 @@ class GLIGENLoader:
RETURN_TYPES
=
(
"GLIGEN"
,)
RETURN_TYPES
=
(
"GLIGEN"
,)
FUNCTION
=
"load_gligen"
FUNCTION
=
"load_gligen"
CATEGORY
=
"
_for_testing/gligen
"
CATEGORY
=
"
loaders
"
def
load_gligen
(
self
,
gligen_name
):
def
load_gligen
(
self
,
gligen_name
):
gligen_path
=
folder_paths
.
get_full_path
(
"gligen"
,
gligen_name
)
gligen_path
=
folder_paths
.
get_full_path
(
"gligen"
,
gligen_name
)
...
@@ -520,7 +520,7 @@ class GLIGENTextBoxApply:
...
@@ -520,7 +520,7 @@ class GLIGENTextBoxApply:
RETURN_TYPES
=
(
"CONDITIONING"
,)
RETURN_TYPES
=
(
"CONDITIONING"
,)
FUNCTION
=
"append"
FUNCTION
=
"append"
CATEGORY
=
"
_for_test
ing/gligen"
CATEGORY
=
"
condition
ing/gligen"
def
append
(
self
,
conditioning_to
,
clip
,
gligen_textbox_model
,
text
,
width
,
height
,
x
,
y
):
def
append
(
self
,
conditioning_to
,
clip
,
gligen_textbox_model
,
text
,
width
,
height
,
x
,
y
):
c
=
[]
c
=
[]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment