Learner commited on
Commit
6041e09
1 Parent(s): c297616

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -37,9 +37,6 @@ pipe, params = FlaxStableDiffusionControlNetPipeline.from_pretrained(
37
  safety_checker=None,
38
  )
39
 
40
- pipe.enable_model_cpu_offload()
41
- pipe.enable_xformers_memory_efficient_attention()
42
-
43
  # inference function takes prompt, negative prompt and image
44
  def infer(prompts, negative_prompts, image):
45
  params["controlnet"] = controlnet_params
 
37
  safety_checker=None,
38
  )
39
 
 
 
 
40
  # inference function takes prompt, negative prompt and image
41
  def infer(prompts, negative_prompts, image):
42
  params["controlnet"] = controlnet_params