Cognomen commited on
Commit
acdcf93
Β·
1 Parent(s): 88e83d0

ValueError: assignment destination is read-only

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