mirror of
https://github.com/jahruz67/wisp-open.git
synced 2026-08-08 18:14:08 +00:00
Merge pull request #11 from jahruz67/fix/html-parse-error
Fix HTML parsing error by removing control characters
This commit is contained in:
@@ -543,6 +543,7 @@ func (a *App) SaveSettings(settings map[string]interface{}) string {
|
||||
// Since GetSettings masks the key, we only update if it's not still the masked value.
|
||||
a.transcriber = transcriber.NewClient(
|
||||
a.config.GroqAPIKey,
|
||||
a.config.MistralAPIKey,
|
||||
a.config.WhisperModel,
|
||||
a.config.AIModel,
|
||||
a.config.AIPrompt,
|
||||
|
||||
+3
-3
@@ -103,8 +103,8 @@
|
||||
<button onclick="copyLinuxPressCommand()">Copy</button>
|
||||
</div>
|
||||
</div>
|
||||
<p class="hint" style="margin-top: 10px;">GNOME: Settings Keyboard Custom Shortcuts Add a shortcut with the copied command.</p>
|
||||
<p class="hint">KDE: System Settings Shortcuts Command/URL Add a shortcut with the copied command.</p>
|
||||
<p class="hint" style="margin-top: 10px;">GNOME: Settings > Keyboard > Custom Shortcuts > Add a shortcut with the copied command.</p>
|
||||
<p class="hint">KDE: System Settings > Shortcuts > Command/URL > Add a shortcut with the copied command.</p>
|
||||
</details>
|
||||
</div>
|
||||
|
||||
@@ -221,7 +221,7 @@
|
||||
|
||||
<div id="whisperInstalled" style="display: none;">
|
||||
<div style="background: var(--green-dim); border: 1px solid rgba(61, 186, 110, 0.25); border-radius: 7px; padding: 13px 16px; margin-bottom: 14px;">
|
||||
<div style="color: var(--green); font-weight: 500; font-size: 13px;"> Offline Whisper installed</div>
|
||||
<div style="color: var(--green); font-weight: 500; font-size: 13px;"> Offline Whisper installed</div>
|
||||
<div style="font-size: 12px; color: var(--text-2); margin-top: 4px;">
|
||||
Model: <span id="installedModel">—</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user