Spaces:
Runtime error
Runtime error
update
Browse files- requirements.txt +1 -1
- 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.
|
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=
|
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')
|