ar0551 commited on
Commit
869d316
·
verified ·
1 Parent(s): b32c1fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -77,6 +77,9 @@ def apply_canny(image, low_threshold, high_threshold):
77
  # 🎨 Image generation function
78
  @spaces.GPU
79
  def generate_image(prompt, input_image, low_threshold, high_threshold, strength, guidance, controlnet_conditioning_scale):
 
 
 
80
  # Apply edge detection
81
  edge_detected = apply_canny(input_image, low_threshold, high_threshold)
82
 
 
77
  # 🎨 Image generation function
78
  @spaces.GPU
79
  def generate_image(prompt, input_image, low_threshold, high_threshold, strength, guidance, controlnet_conditioning_scale):
80
+
81
+ print(pipe.get_active_adapters())
82
+
83
  # Apply edge detection
84
  edge_detected = apply_canny(input_image, low_threshold, high_threshold)
85