mirror of
https://github.com/open-webui/open-webui
synced 2024-11-24 21:13:59 +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:
|
try:
|
||||||
app.state.config.RAG_RERANKING_MODEL = form_data.reranking_model
|
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 {
|
return {
|
||||||
"status": True,
|
"status": True,
|
||||||
|
Loading…
Reference in New Issue
Block a user