From 162c27d2437095d632f64c4be48304a34181753a Mon Sep 17 00:00:00 2001 From: Ethanfel Date: Sun, 15 Feb 2026 02:32:20 +0100 Subject: [PATCH] Add space between user prompt and quality prompt suffix Co-Authored-By: Claude Opus 4.6 --- star_pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/star_pipeline.py b/star_pipeline.py index b2f8e41..953741f 100644 --- a/star_pipeline.py +++ b/star_pipeline.py @@ -304,7 +304,7 @@ def run_star_inference( if offload != "disabled": text_encoder.model.to(device) text_encoder.device = device - text = (prompt if prompt.strip() else "") + cfg.positive_prompt + text = ((prompt.strip() + " ") if prompt.strip() else "") + cfg.positive_prompt print(f"[STAR DEBUG] prompt: {text[:80]}...") y = text_encoder(text).detach() _dbg("text_embedding", y)