Unverified Commit 7a8f8960 authored by Alexandre GODARD's avatar Alexandre GODARD Committed by GitHub
Browse files

Update main.py

Fix typo in update_reranking_model
parent 8d257ed5
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment