kfahn commited on
Commit
81541d3
1 Parent(s): e62de2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -18,7 +18,8 @@ pipe, params = FlaxStableDiffusionControlNetPipeline.from_pretrained(
18
  "runwayml/stable-diffusion-v1-5", controlnet=controlnet, revision="flax", dtype=jnp.bfloat16
19
  )
20
 
21
- def infer(prompt, image):
 
22
  params["controlnet"] = controlnet_params
23
 
24
  num_samples = 1 #jax.device_count()
 
18
  "runwayml/stable-diffusion-v1-5", controlnet=controlnet, revision="flax", dtype=jnp.bfloat16
19
  )
20
 
21
+ #def infer(prompt, image):
22
+ def infer(prompt):
23
  params["controlnet"] = controlnet_params
24
 
25
  num_samples = 1 #jax.device_count()