Refine caption display and final prompt experiments
This commit is contained in:
@@ -53,7 +53,7 @@ def run_distribution(in_queue, args):
|
||||
speaker_label = payload.get('speaker')
|
||||
speaker_prefix = f"[{speaker_label}]: " if speaker_label else ""
|
||||
|
||||
msg = f"\n[Final]: {speaker_prefix}{payload.get('original', '')}"
|
||||
msg = f"[Final]: {speaker_prefix}{payload.get('original', '')}"
|
||||
print(msg, flush=True)
|
||||
log_debug(msg)
|
||||
|
||||
@@ -73,9 +73,13 @@ def run_distribution(in_queue, args):
|
||||
log_debug(llm_line_msg)
|
||||
|
||||
if payload.get("used_llm_paragraph") and paragraph_text:
|
||||
print("", flush=True)
|
||||
log_debug("")
|
||||
llm_paragraph_msg = f"[LLM-PARAGRAPH]: {speaker_prefix}{paragraph_text}"
|
||||
print(llm_paragraph_msg, flush=True)
|
||||
log_debug(llm_paragraph_msg)
|
||||
print("", flush=True)
|
||||
log_debug("")
|
||||
|
||||
if payload.get("paragraph_fallback") and paragraph_text:
|
||||
paragraph_msg = f"[PARAGRAPH]: {speaker_prefix}{paragraph_text}"
|
||||
|
||||
Reference in New Issue
Block a user