Baptlem commited on
Commit
2f4eeff
1 Parent(s): dc72f49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -56,9 +56,9 @@ high_threshold = 200
56
 
57
  pipe, params = load_sb_pipe(controlnet_version)
58
 
59
- # pipe.enable_xformers_memory_efficient_attention()
60
- # pipe.enable_model_cpu_offload()
61
- # pipe.enable_attention_slicing()
62
  print("Loaded models...")
63
  def pipe_inference(
64
  image,
 
56
 
57
  pipe, params = load_sb_pipe(controlnet_version)
58
 
59
+ pipe.enable_xformers_memory_efficient_attention()
60
+ pipe.enable_model_cpu_offload()
61
+ pipe.enable_attention_slicing()
62
  print("Loaded models...")
63
  def pipe_inference(
64
  image,