Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -622,6 +622,7 @@ def infer(
|
|
| 622 |
'width': width,
|
| 623 |
'height': height,
|
| 624 |
'generator': generator,
|
|
|
|
| 625 |
}
|
| 626 |
|
| 627 |
image = pipe(**params).images[0]
|
|
|
|
| 622 |
'width': width,
|
| 623 |
'height': height,
|
| 624 |
'generator': generator,
|
| 625 |
+
'cross_attention_kwargs': {"scale": lora_scale},
|
| 626 |
}
|
| 627 |
|
| 628 |
image = pipe(**params).images[0]
|