Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
|