mobenta commited on
Commit
6681fbe
·
verified ·
1 Parent(s): 0b77113

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -8,9 +8,11 @@ import gradio as gr
8
 
9
  # Check and add the ComfyUI repository path to sys.path
10
  repo_path = './ComfyUI/totoro_extras'
 
11
  if not os.path.exists(repo_path):
12
  raise FileNotFoundError(f"Repository path '{repo_path}' not found. Make sure the ComfyUI repository is cloned correctly.")
13
  sys.path.append(repo_path)
 
14
 
15
  # Import nodes and custom modules
16
  from nodes import NODE_CLASS_MAPPINGS
 
8
 
9
  # Check and add the ComfyUI repository path to sys.path
10
  repo_path = './ComfyUI/totoro_extras'
11
+ print(f"Checking for repository path: {repo_path}")
12
  if not os.path.exists(repo_path):
13
  raise FileNotFoundError(f"Repository path '{repo_path}' not found. Make sure the ComfyUI repository is cloned correctly.")
14
  sys.path.append(repo_path)
15
+ print(f"Repository path added to sys.path: {repo_path}")
16
 
17
  # Import nodes and custom modules
18
  from nodes import NODE_CLASS_MAPPINGS