This commit is contained in:
Timothy J. Baek 2024-04-10 00:51:16 -07:00
parent abfcceecef
commit cb2158a794

View file

@ -167,6 +167,7 @@ async def update_embedding_model(
)
if sentence_transformer_ef:
app.state.RAG_EMBEDDING_MODEL = form_data.embedding_model
app.state.RAG_EMBEDDING_MODEL_PATH = embedding_model_path
app.state.sentence_transformer_ef = sentence_transformer_ef