dezzman commited on
Commit
5d636be
·
verified ·
1 Parent(s): e8401d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -158,7 +158,8 @@ def infer(
158
  'num_inference_steps': num_inference_steps,
159
  'width': width,
160
  'height': height,
161
- 'generator': generator
 
162
  }
163
 
164
  if cn_enable:
 
158
  'num_inference_steps': num_inference_steps,
159
  'width': width,
160
  'height': height,
161
+ 'generator': generator,
162
+ 'cross_attention_kwargs': {"scale": lora_scale},
163
  }
164
 
165
  if cn_enable: