A free, open source, and extensible speech-to-text application that works completely offline.
tweak thresh
CJ Pais5296738bacb5
diff --git a/src-tauri/src/settings.rs b/src-tauri/src/settings.rsindex 336d5673..492306ca 100644--- a/src-tauri/src/settings.rs+++ b/src-tauri/src/settings.rs@@ -73,7 +73,7 @@ fn default_debug_mode() -> bool {}fn default_word_correction_threshold() -> f64 {- 0.15+ 0.18}pub const SETTINGS_STORE_PATH: &str = "settings_store.json";diff --git a/src/components/settings/debug/WordCorrectionThreshold.tsx b/src/components/settings/debug/WordCorrectionThreshold.tsxindex fce241e5..fff45fd3 100644--- a/src/components/settings/debug/WordCorrectionThreshold.tsx+++ b/src/components/settings/debug/WordCorrectionThreshold.tsx@@ -18,7 +18,7 @@ export const WordCorrectionThreshold: React.FC<return (<Slider- value={settings?.word_correction_threshold ?? 0.15}+ value={settings?.word_correction_threshold ?? 0.18}onChange={handleThresholdChange}min={0.0}max={1.0}diff --git a/src/lib/types.ts b/src/lib/types.tsindex dda5d7b4..ab212eba 100644--- a/src/lib/types.ts+++ b/src/lib/types.ts@@ -35,7 +35,7 @@ export const SettingsSchema = z.object({overlay_position: OverlayPositionSchema,debug_mode: z.boolean(),custom_words: z.array(z.string()).optional().default([]),- word_correction_threshold: z.number().optional().default(0.15),+ word_correction_threshold: z.number().optional().default(0.18),});export const BindingResponseSchema = z.object({