Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import numpy as np
|
|
6 |
from PIL import Image
|
7 |
import gradio as gr
|
8 |
|
9 |
-
#
|
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.")
|
|
|
6 |
from PIL import Image
|
7 |
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.")
|