summaryrefslogtreecommitdiffstats
path: root/app/hi.py
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-05-30 02:50:55 -0700
committeryum <yum.food.vr@gmail.com>2025-05-30 02:50:55 -0700
commite1b3f638a1ea448de9691f69eb62ebf4c3944c9f (patch)
tree28df6a8ba0805398a89aeb574e149b3bbd06aea5 /app/hi.py
parentf97cef182de55b6dbae8d2bc0477acfca6cc1f66 (diff)
More polish
- Filters actually get applied now, huge accuracy boost - Use silero-vad python library instead of rolling our own - Expose prompt parameter - Auto setup venv on launch - Clean up python output - Auto acquire all dependencies on launch - Add icon
Diffstat (limited to 'app/hi.py')
-rw-r--r--app/hi.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/app/hi.py b/app/hi.py
index 0d80b9d..e6877ff 100644
--- a/app/hi.py
+++ b/app/hi.py
@@ -330,10 +330,11 @@ if __name__ == "__main__":
cli_args = parse_args()
cfg = app_config.getConfig(cli_args.config)
shared_data = SharedThreadData(cfg)
- osc_thread = threading.Thread(
- target=osc_thread,
- args=(shared_data,))
- osc_thread.start()
+ if False:
+ osc_thread = threading.Thread(
+ target=osc_thread,
+ args=(shared_data,))
+ osc_thread.start()
transcribe_thread = threading.Thread(
target=stt.transcriptionThread,
@@ -382,6 +383,7 @@ if __name__ == "__main__":
local_word = shared_data.word
print(local_word + "_")
shared_data.exit_event.set()
- osc_thread.join()
+ if False:
+ osc_thread.join()
transcribe_thread.join()