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
e1a04797
Commit
e1a04797
authored
Feb 15, 2023
by
Hacker 17082006
Browse files
Edit comment
parent
7da0147d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
nodes.py
nodes.py
+2
-1
No files found.
nodes.py
View file @
e1a04797
...
...
@@ -11,7 +11,7 @@ from PIL.PngImagePlugin import PngInfo
import
numpy
as
np
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
sys
.
path
[
0
],
"comfy"
))
sys
.
dont_write_bytecode
=
True
#No __pycache_ plz
sys
.
dont_write_bytecode
=
True
#No __pycache_
_
plz
import
comfy.samplers
...
...
@@ -603,6 +603,7 @@ CUSTOM_NODE_PATH = os.path.join(os.path.dirname(os.path.realpath(__file__)), "cu
def
load_custom_nodes
():
possible_modules
=
os
.
listdir
(
CUSTOM_NODE_PATH
)
try
:
#Comment out these two lines if you want to test
possible_modules
.
remove
(
"example.py"
)
possible_modules
.
remove
(
"example_folder"
)
except
ValueError
:
pass
...
...
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