Muhammadreza commited on
Commit
9549665
1 Parent(s): 6957b76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def genie (input_image, prompt, negative_prompt, width, height, steps, seed, con
41
 
42
  #generating a new image
43
  generator = np.random.seed(0) if seed == 0 else torch.manual_seed(seed)
44
- int_image = pipe(prompt=prompt, negative_prompt=negative_prompt, width=width, height=height, generator=generator, num_inference_steps=steps, guidance_scale=5.0, image=image, controlnet_conditioning_scale=conditioning_scale).images[0]
45
  return int_image
46
 
47
  gr.Interface(fn=genie, inputs=[gr.Textbox(label='Base Image URL'),
 
41
 
42
  #generating a new image
43
  generator = np.random.seed(0) if seed == 0 else torch.manual_seed(seed)
44
+ int_image = pipe(prompt=prompt, negative_prompt=negative_prompt, width=width, height=height, generator=generator, num_inference_steps=steps, guidance_scale=4, image=image, controlnet_conditioning_scale=conditioning_scale).images[0]
45
  return int_image
46
 
47
  gr.Interface(fn=genie, inputs=[gr.Textbox(label='Base Image URL'),