Cognomen commited on
Commit
8dd4d65
Β·
1 Parent(s): d3fc59d

from_pt after all

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -33,6 +33,7 @@ pipe, params = FlaxStableDiffusionControlNetPipeline.from_pretrained(
33
  controlnet=cnet,
34
  revision="flax",
35
  dtype=jnp.bfloat16,
 
36
  )
37
  pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config)
38
  #pipe.enable_model_cpu_offload()
 
33
  controlnet=cnet,
34
  revision="flax",
35
  dtype=jnp.bfloat16,
36
+ from_pt=True
37
  )
38
  pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config)
39
  #pipe.enable_model_cpu_offload()