Commit cb2158a7 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix

parent abfcceec
...@@ -167,6 +167,7 @@ async def update_embedding_model( ...@@ -167,6 +167,7 @@ async def update_embedding_model(
) )
if sentence_transformer_ef: if sentence_transformer_ef:
app.state.RAG_EMBEDDING_MODEL = form_data.embedding_model
app.state.RAG_EMBEDDING_MODEL_PATH = embedding_model_path app.state.RAG_EMBEDDING_MODEL_PATH = embedding_model_path
app.state.sentence_transformer_ef = sentence_transformer_ef app.state.sentence_transformer_ef = sentence_transformer_ef
......
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