AP123 commited on
Commit
15643d7
β€’
1 Parent(s): 5921c24

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -53,10 +53,10 @@ def inference(
53
  negative_prompt=negative_prompt,
54
  image=None,
55
  control_image=control_image,
56
- guidance_scale=float(guidance_scale),
57
- controlnet_conditioning_scale=float(controlnet_conditioning_scale),
58
  generator=generator,
59
- strength=float(strength),
60
  num_inference_steps=40,
61
  )
62
  return out.images[0]
@@ -65,7 +65,6 @@ with gr.Blocks() as app:
65
  gr.Markdown(
66
  '''
67
  # Illusion Diffusion πŸŒ€
68
- ## Generate beautiful illusion art with SD 1.5.
69
  **[Follow me on Twitter](https://twitter.com/angrypenguinPNG)**
70
  '''
71
  )
 
53
  negative_prompt=negative_prompt,
54
  image=None,
55
  control_image=control_image,
56
+ guidance_scale=guidance_scale,
57
+ controlnet_conditioning_scale=controlnet_conditioning_scale,
58
  generator=generator,
59
+ strength=strength,
60
  num_inference_steps=40,
61
  )
62
  return out.images[0]
 
65
  gr.Markdown(
66
  '''
67
  # Illusion Diffusion πŸŒ€
 
68
  **[Follow me on Twitter](https://twitter.com/angrypenguinPNG)**
69
  '''
70
  )