mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
add prompt enhance to ltx and fix audio
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -97,5 +97,4 @@ def set_template(
|
||||
else:
|
||||
chat_template = get_text_template(system, prompt, options, nsfw, has_system, has_prompt, has_processor, is_video, image)
|
||||
|
||||
print('HERE2', chat_template)
|
||||
return chat_template
|
||||
|
||||
@@ -389,7 +389,6 @@ class PromptEnhanceScript(scripts_manager.Script):
|
||||
current_image = current_image.convert('RGB')
|
||||
debug_log('Prompt enhance: Converted image to RGB mode')
|
||||
|
||||
print('HERE1', self.parent)
|
||||
chat_template = set_template(
|
||||
system=system,
|
||||
prompt=prompt_text,
|
||||
|
||||
Reference in New Issue
Block a user