mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
@@ -81,7 +81,7 @@ class FilenameGenerator:
|
||||
if prompt is not None:
|
||||
self.prompt = prompt
|
||||
else:
|
||||
self.prompt = p.prompt if p is not None and getattr(p, 'prompt', '') is not '' else ''
|
||||
self.prompt = p.prompt if p is not None and getattr(p, 'prompt', '') != '' else ''
|
||||
if isinstance(self.prompt, list):
|
||||
self.prompt = ' '.join(self.prompt)
|
||||
self.image = image
|
||||
|
||||
Reference in New Issue
Block a user