forked from open-webui/open-webui
fix
This commit is contained in:
parent
abfcceecef
commit
cb2158a794
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue