multimodalart HF Staff commited on
Commit
d620788
·
verified ·
1 Parent(s): c8a8fcf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def find_path(name: str, path: str = None) -> str:
30
  return find_path(name, parent_directory)
31
 
32
  def add_comfyui_directory_to_sys_path() -> None:
33
- comfyui_path = find_path("ComfyUI")
34
  if comfyui_path is not None and os.path.isdir(comfyui_path):
35
  sys.path.append(comfyui_path)
36
  print(f"'{comfyui_path}' added to sys.path")
 
30
  return find_path(name, parent_directory)
31
 
32
  def add_comfyui_directory_to_sys_path() -> None:
33
+ comfyui_path = os.getcwd()
34
  if comfyui_path is not None and os.path.isdir(comfyui_path):
35
  sys.path.append(comfyui_path)
36
  print(f"'{comfyui_path}' added to sys.path")