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
7a8f8960
Unverified
Commit
7a8f8960
authored
Aug 13, 2024
by
Alexandre GODARD
Committed by
GitHub
Aug 13, 2024
Browse files
Update main.py
Fix typo in update_reranking_model
parent
8d257ed5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
backend/apps/rag/main.py
backend/apps/rag/main.py
+1
-1
No files found.
backend/apps/rag/main.py
View file @
7a8f8960
...
...
@@ -376,7 +376,7 @@ async def update_reranking_config(
try
:
app
.
state
.
config
.
RAG_RERANKING_MODEL
=
form_data
.
reranking_model
update_reranking_model
(
app
.
state
.
config
.
RAG_RERANKING_MODEL
)
,
True
update_reranking_model
(
app
.
state
.
config
.
RAG_RERANKING_MODEL
,
True
)
return
{
"status"
:
True
,
...
...
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