fffiloni commited on
Commit
1580929
·
1 Parent(s): 089e6cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -47,7 +47,11 @@ def infer(image_in, prompt):
47
  image = Image.fromarray(image)
48
 
49
  images = pipe(
50
- prompt, negative_prompt=negative_prompt, image=image, controlnet_conditioning_scale=controlnet_conditioning_scale,
 
 
 
 
51
  ).images
52
 
53
  images[0].save(f"hug_lab.png")
 
47
  image = Image.fromarray(image)
48
 
49
  images = pipe(
50
+ prompt,
51
+ negative_prompt=negative_prompt,
52
+ image=image,
53
+ controlnet_conditioning_scale=controlnet_conditioning_scale,
54
+ num_inference_steps=50
55
  ).images
56
 
57
  images[0].save(f"hug_lab.png")