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
fa074265
"vscode:/vscode.git/clone" did not exist on "bc2d586dcbba9429f4b0d9600a559fff18f599b6"
Commit
fa074265
authored
Mar 09, 2023
by
pythongosssss
Browse files
Remove random spaces
parent
eaab4bf9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
nodes.py
nodes.py
+2
-2
No files found.
nodes.py
View file @
fa074265
...
@@ -832,7 +832,7 @@ class LoadImage:
...
@@ -832,7 +832,7 @@ class LoadImage:
with
open
(
image_path
,
'rb'
)
as
f
:
with
open
(
image_path
,
'rb'
)
as
f
:
m
.
update
(
f
.
read
())
m
.
update
(
f
.
read
())
return
m
.
digest
().
hex
()
return
m
.
digest
().
hex
()
class
LoadImageMask
:
class
LoadImageMask
:
input_dir
=
os
.
path
.
join
(
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
)),
"input"
)
input_dir
=
os
.
path
.
join
(
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
)),
"input"
)
@
classmethod
@
classmethod
...
@@ -867,7 +867,7 @@ class LoadImageMask:
...
@@ -867,7 +867,7 @@ class LoadImageMask:
with
open
(
image_path
,
'rb'
)
as
f
:
with
open
(
image_path
,
'rb'
)
as
f
:
m
.
update
(
f
.
read
())
m
.
update
(
f
.
read
())
return
m
.
digest
().
hex
()
return
m
.
digest
().
hex
()
class
ImageScale
:
class
ImageScale
:
upscale_methods
=
[
"nearest-exact"
,
"bilinear"
,
"area"
]
upscale_methods
=
[
"nearest-exact"
,
"bilinear"
,
"area"
]
crop_methods
=
[
"disabled"
,
"center"
]
crop_methods
=
[
"disabled"
,
"center"
]
...
...
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