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
commit fc6fa7887b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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,