mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-02-01 22:09:46 +00:00
Update forge_reference.py
This commit is contained in:
@@ -79,7 +79,7 @@ class PreprocessorReference(Preprocessor):
|
||||
return h
|
||||
|
||||
if self.is_recording_style:
|
||||
a = 0
|
||||
self.recorded_h[location] = h
|
||||
else:
|
||||
b = 0
|
||||
|
||||
@@ -97,7 +97,7 @@ class PreprocessorReference(Preprocessor):
|
||||
transformer_options['block_index'])
|
||||
|
||||
if self.is_recording_style:
|
||||
a = 0
|
||||
self.recorded_attn1[location] = (k, v)
|
||||
else:
|
||||
b = 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user