amos1088 commited on
Commit
f22d4e9
·
1 Parent(s): cbee50c

test gradio

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- image=reference_image,
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