mirror of
https://github.com/open-webui/open-webui
synced 2024-11-25 21:38:43 +00:00
fix
This commit is contained in:
parent
abfcceecef
commit
cb2158a794
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user