Spaces:
Paused
Paused
test gradio
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def generate_image(prompt, reference_image,controlnet_conditioning_scale):
|
|
28 |
# Generate the image with ControlNet conditioning
|
29 |
generated_image = pipe(
|
30 |
prompt=prompt,
|
31 |
-
|
32 |
controlnet_conditioning_scale=1.0,
|
33 |
guidance_scale=7.5,
|
34 |
num_inference_steps=50
|
|
|
28 |
# Generate the image with ControlNet conditioning
|
29 |
generated_image = pipe(
|
30 |
prompt=prompt,
|
31 |
+
control_image=reference_image,
|
32 |
controlnet_conditioning_scale=1.0,
|
33 |
guidance_scale=7.5,
|
34 |
num_inference_steps=50
|