mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 12:55:19 +00:00
Update main.py
Fix typo in update_reranking_model
This commit is contained in:
parent
8d257ed596
commit
7a8f8960c5
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue