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
5f7188b4
"git@developer.sourcefind.cn:yangql/googletest.git" did not exist on "05b5a53898c2466e49f37e84324644949d279b34"
Commit
5f7188b4
authored
May 06, 2024
by
Yanyutin753
Browse files
fix python test
parent
761c66a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
backend/apps/audio/main.py
backend/apps/audio/main.py
+2
-2
No files found.
backend/apps/audio/main.py
View file @
5f7188b4
...
@@ -44,7 +44,7 @@ from config import (
...
@@ -44,7 +44,7 @@ from config import (
AUDIO_OPENAI_API_BASE_URL
,
AUDIO_OPENAI_API_BASE_URL
,
AUDIO_OPENAI_API_KEY
,
AUDIO_OPENAI_API_KEY
,
AUDIO_OPENAI_API_MODEL
,
AUDIO_OPENAI_API_MODEL
,
AUDIO_OPENAI_API_SPEAKER
AUDIO_OPENAI_API_SPEAKER
,
)
)
log
=
logging
.
getLogger
(
__name__
)
log
=
logging
.
getLogger
(
__name__
)
...
@@ -86,7 +86,7 @@ async def get_openai_config(user=Depends(get_admin_user)):
...
@@ -86,7 +86,7 @@ async def get_openai_config(user=Depends(get_admin_user)):
"OPENAI_API_BASE_URL"
:
app
.
state
.
OPENAI_API_BASE_URL
,
"OPENAI_API_BASE_URL"
:
app
.
state
.
OPENAI_API_BASE_URL
,
"OPENAI_API_KEY"
:
app
.
state
.
OPENAI_API_KEY
,
"OPENAI_API_KEY"
:
app
.
state
.
OPENAI_API_KEY
,
"OPENAI_API_MODEL"
:
app
.
state
.
OPENAI_API_MODEL
,
"OPENAI_API_MODEL"
:
app
.
state
.
OPENAI_API_MODEL
,
"OPENAI_API_SPEAKER"
:
app
.
state
.
OPENAI_API_SPEAKER
"OPENAI_API_SPEAKER"
:
app
.
state
.
OPENAI_API_SPEAKER
,
}
}
...
...
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