Spaces:
Running
on
Zero
Running
on
Zero
lemonaddie
commited on
Commit
•
2d85c81
1
Parent(s):
911f625
Update app2.py
Browse files
app2.py
CHANGED
@@ -29,7 +29,8 @@ import cv2
|
|
29 |
|
30 |
import sys
|
31 |
sys.path.append("../")
|
32 |
-
from models.depth_normal_pipeline_clip import DepthNormalEstimationPipeline
|
|
|
33 |
from utils.seed_all import seed_all
|
34 |
import matplotlib.pyplot as plt
|
35 |
from utils.de_normalized import align_scale_shift
|
@@ -85,7 +86,7 @@ def depth_normal(img,
|
|
85 |
ensemble_size=ensemble_size,
|
86 |
processing_res=processing_res,
|
87 |
batch_size=0,
|
88 |
-
|
89 |
domain=domain,
|
90 |
show_progress_bar=True,
|
91 |
)
|
|
|
29 |
|
30 |
import sys
|
31 |
sys.path.append("../")
|
32 |
+
#from models.depth_normal_pipeline_clip import DepthNormalEstimationPipeline
|
33 |
+
from models.depth_normal_pipeline_clip_cfg import DepthNormalEstimationPipeline
|
34 |
from utils.seed_all import seed_all
|
35 |
import matplotlib.pyplot as plt
|
36 |
from utils.de_normalized import align_scale_shift
|
|
|
86 |
ensemble_size=ensemble_size,
|
87 |
processing_res=processing_res,
|
88 |
batch_size=0,
|
89 |
+
guidance_scale=guidance_scale,
|
90 |
domain=domain,
|
91 |
show_progress_bar=True,
|
92 |
)
|