A free, open source, and extensible speech-to-text application that works completely offline.
tweak default to 0.15
CJ Paisd52df5334316
diff --git a/src-tauri/src/settings.rs b/src-tauri/src/settings.rsindex 9398d660..336d5673 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.2+ 0.15}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 8816689a..fce241e5 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.2}+ value={settings?.word_correction_threshold ?? 0.15}onChange={handleThresholdChange}min={0.0}max={1.0}diff --git a/src/lib/types.ts b/src/lib/types.tsindex 366cd753..dda5d7b4 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.2),+ word_correction_threshold: z.number().optional().default(0.15),});export const BindingResponseSchema = z.object({