mirror of
https://github.com/Stability-AI/stablediffusion.git
synced 2024-12-22 23:55:00 +00:00
Fix typo
This commit is contained in:
parent
3b2e28a137
commit
d6933311e7
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ def main(opt):
|
||||||
|
|
||||||
prompts = data[0]
|
prompts = data[0]
|
||||||
print("Running a forward pass to initialize optimizations")
|
print("Running a forward pass to initialize optimizations")
|
||||||
uc = Nonede
|
uc = None
|
||||||
if opt.scale != 1.0:
|
if opt.scale != 1.0:
|
||||||
uc = model.get_learned_conditioning(batch_size * [""])
|
uc = model.get_learned_conditioning(batch_size * [""])
|
||||||
if isinstance(prompts, tuple):
|
if isinstance(prompts, tuple):
|
||||||
|
|
Loading…
Reference in a new issue