mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
Fix assorted small typos: dead __str__, unformatted messages, preview min-height, tooltip
- processing.py: __str___ misspelled dunder never dispatched; rename to __str__
- demofusion.py: missing f-prefix printed literal {width}x{height} in user-facing error
- sparse_backend.py: missing f-prefix printed literal {size} in ValueError
- generation_parameters_copypaste.py: debug message typo 'Not not registered'
- progressBar.ts: live-preview gallery minHeight computed from naturalWidth; mirrors the adjacent maxHeight line (naturalHeight)
- settings.ts: stray } in settings-tab tooltip
This commit is contained in:
@@ -347,7 +347,7 @@ class DemoFusionSDXLPipeline(DiffusionPipeline, FromSingleFileMixin, LoraLoaderM
|
||||
|
||||
# DemoFusion specific checks
|
||||
if max(height, width) % 1024 != 0:
|
||||
log.error('DemoFusion: resolution={width}x{height} long side must be divisible by 1024')
|
||||
log.error(f'DemoFusion: resolution={width}x{height} long side must be divisible by 1024')
|
||||
return None
|
||||
|
||||
if num_images_per_prompt != 1:
|
||||
|
||||
Reference in New Issue
Block a user