Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
cb2158a7
Commit
cb2158a7
authored
Apr 10, 2024
by
Timothy J. Baek
Browse files
fix
parent
abfcceec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
backend/apps/rag/main.py
backend/apps/rag/main.py
+1
-0
No files found.
backend/apps/rag/main.py
View file @
cb2158a7
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment