mirror of
https://github.com/open-webui/open-webui
synced 2024-11-24 13:07:25 +00:00
Update main.py
Fix typo in update_reranking_model
This commit is contained in:
parent
8d257ed596
commit
7a8f8960c5
@ -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 New Issue
Block a user