ysharma HF staff commited on
Commit
21f2c0a
·
1 Parent(s): 789421b
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -631,7 +631,7 @@ class Model:
631
  127.5).cpu().numpy().clip(0, 255).astype(np.uint8)
632
 
633
  results = [x_samples[i] for i in range(num_samples)]
634
- return [detected_map] + results
635
 
636
  @torch.inference_mode()
637
  def process_depth(self, input_image, prompt, a_prompt, n_prompt,
 
631
  127.5).cpu().numpy().clip(0, 255).astype(np.uint8)
632
 
633
  results = [x_samples[i] for i in range(num_samples)]
634
+ return [detected_map] + results, [detected_map] + results
635
 
636
  @torch.inference_mode()
637
  def process_depth(self, input_image, prompt, a_prompt, n_prompt,