Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
589de36a
Commit
589de36a
authored
Apr 23, 2024
by
Timothy J. Baek
Browse files
fix: #1705
parent
86bc0c8c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
src/lib/components/chat/Settings/Audio.svelte
src/lib/components/chat/Settings/Audio.svelte
+9
-7
No files found.
src/lib/components/chat/Settings/Audio.svelte
View file @
589de36a
...
@@ -75,6 +75,7 @@
...
@@ -75,6 +75,7 @@
};
};
const updateConfigHandler = async () => {
const updateConfigHandler = async () => {
if (TTSEngine === 'openai') {
const res = await updateAudioConfig(localStorage.token, {
const res = await updateAudioConfig(localStorage.token, {
url: OpenAIUrl,
url: OpenAIUrl,
key: OpenAIKey
key: OpenAIKey
...
@@ -84,6 +85,7 @@
...
@@ -84,6 +85,7 @@
OpenAIUrl = res.OPENAI_API_BASE_URL;
OpenAIUrl = res.OPENAI_API_BASE_URL;
OpenAIKey = res.OPENAI_API_KEY;
OpenAIKey = res.OPENAI_API_KEY;
}
}
}
};
};
onMount(async () => {
onMount(async () => {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment