Spaces:
Running
on
Zero
Running
on
Zero
ekhatskevich
commited on
Commit
·
4c1d5cb
1
Parent(s):
9235b7f
fix: requirements
Browse files- app.py +1 -3
- requirements.txt +1 -0
app.py
CHANGED
@@ -11,11 +11,9 @@ os.environ["LOCAL_MODEL_PATH"] = "ms://iic/ACE_Plus@local_editing/comfyui_local_
|
|
11 |
from inference.ace_plus_inference import ACEInference
|
12 |
from scepter.modules.utils.config import Config
|
13 |
|
14 |
-
# Define a minimal configuration dictionary.
|
15 |
-
# Adjust the "MODEL" field as required by your ACE++ setup.
|
16 |
config_dict = {
|
17 |
"MODEL": {
|
18 |
-
"type": "
|
19 |
"pretrained_path": os.getenv("PORTRAIT_MODEL_PATH")
|
20 |
},
|
21 |
"MAX_SEQ_LEN": 77,
|
|
|
11 |
from inference.ace_plus_inference import ACEInference
|
12 |
from scepter.modules.utils.config import Config
|
13 |
|
|
|
|
|
14 |
config_dict = {
|
15 |
"MODEL": {
|
16 |
+
"type": "ACEModelType",
|
17 |
"pretrained_path": os.getenv("PORTRAIT_MODEL_PATH")
|
18 |
},
|
19 |
"MAX_SEQ_LEN": 77,
|
requirements.txt
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
gradio
|
2 |
scepter
|
3 |
torch
|
|
|
1 |
+
diffusers
|
2 |
gradio
|
3 |
scepter
|
4 |
torch
|