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
fengzch-das
nunchaku
Commits
807226db
Commit
807226db
authored
Feb 13, 2025
by
April Hu
Browse files
Fix typo
parent
b7e71b41
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
comfyui/nodes.py
comfyui/nodes.py
+3
-3
No files found.
comfyui/nodes.py
View file @
807226db
...
...
@@ -361,7 +361,7 @@ class DepthPreprocesser:
@
classmethod
def
INPUT_TYPES
(
s
):
model_paths
=
[
"LiheYoung/depth-anything-large-hf"
]
prefix
=
"models/
style_model
s"
prefix
=
"models/
checkpoint
s"
local_folders
=
os
.
listdir
(
prefix
)
local_folders
=
sorted
(
[
...
...
@@ -388,7 +388,7 @@ class DepthPreprocesser:
TITLE
=
"Flux.1 Depth Preprocessor"
def
depth_preprocess
(
self
,
image
,
model_path
):
prefix
=
"models/
style_model
s"
prefix
=
"models/
checkpoint
s"
if
os
.
path
.
exists
(
os
.
path
.
join
(
prefix
,
model_path
)):
model_path
=
os
.
path
.
join
(
prefix
,
model_path
)
processor
=
DepthPreprocessor
.
from_pretrained
(
model_path
)
...
...
@@ -402,5 +402,5 @@ NODE_CLASS_MAPPINGS = {
"SVDQuantFluxDiTLoader"
:
SVDQuantFluxDiTLoader
,
"SVDQuantTextEncoderLoader"
:
SVDQuantTextEncoderLoader
,
"SVDQuantLoRALoader"
:
SVDQuantLoraLoader
,
"DepthPreprocesser"
:
DepthPreprocesser
,
"DepthPreprocesser"
:
DepthPreprocesser
}
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