Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 =
|
| 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")
|