Merge pull request #4579 from alexandregodard/main

Update main.py
This commit is contained in:
Timothy Jaeryang Baek
2024-08-13 18:17:27 +02:00
committed by GitHub

View File

@@ -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,