kfahn commited on
Commit
d186b30
1 Parent(s): 56c56cc

Update app.py

Browse files

change dtype back

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,10 +29,10 @@ sketch_url = 'https://editor.p5js.org/kfahn/full/Ntzq9HWhx'
29
  control_img = 'myimage.jpg'
30
 
31
  controlnet, controlnet_params = FlaxControlNetModel.from_pretrained(
32
- "JFoz/dog-cat-pose", dtype=jnp.bfloat32
33
  )
34
  pipe, params = FlaxStableDiffusionControlNetPipeline.from_pretrained(
35
- "runwayml/stable-diffusion-v1-5", controlnet=controlnet, revision="flax", dtype=jnp.bfloat32
36
  )
37
 
38
  def infer(prompts, negative_prompts, image):
 
29
  control_img = 'myimage.jpg'
30
 
31
  controlnet, controlnet_params = FlaxControlNetModel.from_pretrained(
32
+ "JFoz/dog-cat-pose", dtype=jnp.bfloat16
33
  )
34
  pipe, params = FlaxStableDiffusionControlNetPipeline.from_pretrained(
35
+ "runwayml/stable-diffusion-v1-5", controlnet=controlnet, revision="flax", dtype=jnp.bfloat16
36
  )
37
 
38
  def infer(prompts, negative_prompts, image):