add prompt enhance to ltx and fix audio

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2026-07-28 13:11:21 +02:00
parent 7a6fa28484
commit e280938e79
6 changed files with 17 additions and 17 deletions
-1
View File
@@ -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
-1
View File
@@ -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,