Spaces:
Sleeping
Sleeping
Emilichka
commited on
Commit
·
8f4997e
1
Parent(s):
c4db5c9
error_fix
Browse files- app.py +1 -1
- requirements.txt +4 -1
app.py
CHANGED
@@ -113,7 +113,7 @@ def infer(
|
|
113 |
width=width,
|
114 |
height=height,
|
115 |
generator=generator,
|
116 |
-
|
117 |
controlnet_conditioning_scale=controlnet_strength,
|
118 |
ip_adapter_image=ip_adapter_image,
|
119 |
).images[0]
|
|
|
113 |
width=width,
|
114 |
height=height,
|
115 |
generator=generator,
|
116 |
+
cross_attention_kwargs={"scale": lscale},
|
117 |
controlnet_conditioning_scale=controlnet_strength,
|
118 |
ip_adapter_image=ip_adapter_image,
|
119 |
).images[0]
|
requirements.txt
CHANGED
@@ -3,4 +3,7 @@ diffusers
|
|
3 |
invisible_watermark
|
4 |
torch
|
5 |
transformers
|
6 |
-
xformers
|
|
|
|
|
|
|
|
3 |
invisible_watermark
|
4 |
torch
|
5 |
transformers
|
6 |
+
xformers
|
7 |
+
rembg
|
8 |
+
onnxruntime
|
9 |
+
peft
|