shgao commited on
Commit
d7ae2ef
1 Parent(s): 8021e2e
Files changed (2) hide show
  1. requirements.txt +1 -1
  2. sam2edit.py +1 -1
requirements.txt CHANGED
@@ -26,7 +26,7 @@ yapf==0.32.0
26
  prettytable==3.6.0
27
  safetensors==0.2.7
28
  basicsr==1.4.2
29
- diffusers==0.16.1
30
  accelerate==0.18.0
31
  transformers==4.27.4
32
  xformers==0.0.16
 
26
  prettytable==3.6.0
27
  safetensors==0.2.7
28
  basicsr==1.4.2
29
+ diffusers==0.15.1
30
  accelerate==0.18.0
31
  transformers==4.27.4
32
  xformers==0.0.16
sam2edit.py CHANGED
@@ -22,7 +22,7 @@ def create_demo(process, process_image_click=None):
22
 
23
  if __name__ == '__main__':
24
  model = EditAnythingLoraModel(base_model_path="stabilityai/stable-diffusion-2",
25
- controlmodel_name='LAION Pretrained(v0-4)-SD21', extra_inpaint=True,
26
  lora_model_path=None, use_blip=True)
27
  demo = create_demo(model.process, model.process_image_click)
28
  demo.queue().launch(server_name='0.0.0.0')
 
22
 
23
  if __name__ == '__main__':
24
  model = EditAnythingLoraModel(base_model_path="stabilityai/stable-diffusion-2",
25
+ controlmodel_name='LAION Pretrained(v0-4)-SD21', extra_inpaint=False,
26
  lora_model_path=None, use_blip=True)
27
  demo = create_demo(model.process, model.process_image_click)
28
  demo.queue().launch(server_name='0.0.0.0')