merve HF staff commited on
Commit
a69c653
1 Parent(s): 0575d34

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -28,14 +28,14 @@ def create_key(seed=0):
28
 
29
  # load control net and stable diffusion v1-5
30
  controlnet, controlnet_params = FlaxControlNetModel.from_pretrained(
31
- "learner/jax-diffuser-event", from_flax=True, dtype=jnp.float32
32
  )
33
 
34
  pipe, params = FlaxStableDiffusionControlNetPipeline.from_pretrained(
35
  "runwayml/stable-diffusion-v1-5",
36
  controlnet=controlnet,
37
  from_pt=True,
38
- dtype=jnp.float32,
39
  #safety_checker=None,
40
  )
41
 
 
28
 
29
  # load control net and stable diffusion v1-5
30
  controlnet, controlnet_params = FlaxControlNetModel.from_pretrained(
31
+ "learner/jax-diffuser-event", from_flax=True, dtype=jnp.bfloat16
32
  )
33
 
34
  pipe, params = FlaxStableDiffusionControlNetPipeline.from_pretrained(
35
  "runwayml/stable-diffusion-v1-5",
36
  controlnet=controlnet,
37
  from_pt=True,
38
+ dtype=jnp.bfloat16,
39
  #safety_checker=None,
40
  )
41