summaryrefslogtreecommitdiffstats
path: root/Scripts/transcribe_v2.py
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2023-09-09 23:18:32 -0700
committeryum <yum.food.vr@gmail.com>2023-09-09 23:18:32 -0700
commit9924a141b0b1266671915be12e21df6c8f4c5366 (patch)
tree4b29e5e06e2183ab2fe4707ec84786f245f96004 /Scripts/transcribe_v2.py
parentae866f553d3db67030e37ce315707d72982f4063 (diff)
Browser source now shows preview text as slightly transparent
Improves viewer experience.
Diffstat (limited to 'Scripts/transcribe_v2.py')
-rw-r--r--Scripts/transcribe_v2.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Scripts/transcribe_v2.py b/Scripts/transcribe_v2.py
index 541ff23..df333bc 100644
--- a/Scripts/transcribe_v2.py
+++ b/Scripts/transcribe_v2.py
@@ -672,7 +672,8 @@ def transcriptionThread(ctrl: ThreadControl):
commit = ctrl.committer.getDelta()
if len(commit.delta) > 0 or len(commit.preview) > 0:
- print(f"Transcript: {ctrl.transcript}{commit.delta}{commit.preview}")
+ print(f"Transcript: {ctrl.transcript}{commit.delta}")
+ print(f"Preview: {commit.preview}")
if cfg["enable_debug_mode"]:
print(f"commit latency: {commit.latency_s}", file=sys.stderr)
print(f"commit thresh: {commit.thresh_at_commit}",