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
acff543d
"examples/asr/vscode:/vscode.git/clone" did not exist on "e6c89731ba9d7957a3f55564a5f1fd62b80da92d"
Commit
acff543d
authored
May 14, 2023
by
comfyanonymous
Browse files
Remove useless code.
parent
d926f65f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
nodes.py
nodes.py
+0
-15
No files found.
nodes.py
View file @
acff543d
...
...
@@ -146,9 +146,6 @@ class ConditioningSetMask:
return
(
c
,
)
class
VAEDecode
:
def
__init__
(
self
,
device
=
"cpu"
):
self
.
device
=
device
@
classmethod
def
INPUT_TYPES
(
s
):
return
{
"required"
:
{
"samples"
:
(
"LATENT"
,
),
"vae"
:
(
"VAE"
,
)}}
...
...
@@ -161,9 +158,6 @@ class VAEDecode:
return
(
vae
.
decode
(
samples
[
"samples"
]),
)
class
VAEDecodeTiled
:
def
__init__
(
self
,
device
=
"cpu"
):
self
.
device
=
device
@
classmethod
def
INPUT_TYPES
(
s
):
return
{
"required"
:
{
"samples"
:
(
"LATENT"
,
),
"vae"
:
(
"VAE"
,
)}}
...
...
@@ -176,9 +170,6 @@ class VAEDecodeTiled:
return
(
vae
.
decode_tiled
(
samples
[
"samples"
]),
)
class
VAEEncode
:
def
__init__
(
self
,
device
=
"cpu"
):
self
.
device
=
device
@
classmethod
def
INPUT_TYPES
(
s
):
return
{
"required"
:
{
"pixels"
:
(
"IMAGE"
,
),
"vae"
:
(
"VAE"
,
)}}
...
...
@@ -203,9 +194,6 @@ class VAEEncode:
return
({
"samples"
:
t
},
)
class
VAEEncodeTiled
:
def
__init__
(
self
,
device
=
"cpu"
):
self
.
device
=
device
@
classmethod
def
INPUT_TYPES
(
s
):
return
{
"required"
:
{
"pixels"
:
(
"IMAGE"
,
),
"vae"
:
(
"VAE"
,
)}}
...
...
@@ -220,9 +208,6 @@ class VAEEncodeTiled:
return
({
"samples"
:
t
},
)
class
VAEEncodeForInpaint
:
def
__init__
(
self
,
device
=
"cpu"
):
self
.
device
=
device
@
classmethod
def
INPUT_TYPES
(
s
):
return
{
"required"
:
{
"pixels"
:
(
"IMAGE"
,
),
"vae"
:
(
"VAE"
,
),
"mask"
:
(
"MASK"
,
),
"grow_mask_by"
:
(
"INT"
,
{
"default"
:
6
,
"min"
:
0
,
"max"
:
64
,
"step"
:
1
}),}}
...
...
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