Update main.py

Fix typo in update_reranking_model
This commit is contained in:
Alexandre GODARD 2024-08-13 17:51:25 +02:00 committed by GitHub
parent 8d257ed596
commit 7a8f8960c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

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