Spaces:
Runtime error
Runtime error
upd
Browse files
model.py
CHANGED
@@ -715,8 +715,8 @@ class Model:
|
|
715 |
#return desc
|
716 |
"""
|
717 |
|
718 |
-
|
719 |
-
return results[0] #[detected_map] + results, desc
|
720 |
|
721 |
@torch.inference_mode()
|
722 |
def process_depth(self, input_image, prompt, a_prompt, n_prompt,
|
|
|
715 |
#return desc
|
716 |
"""
|
717 |
|
718 |
+
msg = '<h4 style="color: green"> Observe the Ingenuity of ControlNet by comparing Input and Output images</h4>'
|
719 |
+
return results[0], msg #[detected_map] + results, desc
|
720 |
|
721 |
@torch.inference_mode()
|
722 |
def process_depth(self, input_image, prompt, a_prompt, n_prompt,
|