Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,6 +11,8 @@ from huggingface_hub import hf_hub_download
|
|
11 |
from transformers import AutoModelForImageSegmentation
|
12 |
from torchvision import transforms
|
13 |
|
|
|
|
|
14 |
from pipeline import InstantCharacterFluxPipeline
|
15 |
|
16 |
# global variable
|
|
|
11 |
from transformers import AutoModelForImageSegmentation
|
12 |
from torchvision import transforms
|
13 |
|
14 |
+
import os
|
15 |
+
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
16 |
from pipeline import InstantCharacterFluxPipeline
|
17 |
|
18 |
# global variable
|