This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/modules/processing.py b/modules/processing.py | |
index 24c537d..0525cfd 100644 | |
--- a/modules/processing.py | |
+++ b/modules/processing.py | |
@@ -156,20 +156,41 @@ class StableDiffusionProcessing(): | |
return image_conditioning | |
def depth2img_image_conditioning(self, source_image): | |
- # Use the AddMiDaS helper to Format our source image to suit the MiDaS model | |
- transformer = AddMiDaS(model_type="dpt_hybrid") |