mirror of
https://github.com/open-webui/open-webui
synced 2024-11-06 08:56:39 +00:00
Comment fix config.py ln 412
This commit is contained in:
parent
0399a69b73
commit
6623ecb302
@ -409,7 +409,7 @@ RAG_EMBEDDING_MODEL_AUTO_UPDATE = (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
# device type ebbeding models - "cpu" (default), "cuda" (nvidia gpu required) or "mps" (apple silicon) - choosing this right can lead to better performance
|
# device type embbeding models - "cpu" (default), "cuda" (nvidia gpu required) or "mps" (apple silicon) - choosing the correct model can lead to better performance
|
||||||
USE_CUDA = os.environ.get("USE_CUDA_DOCKER", "false")
|
USE_CUDA = os.environ.get("USE_CUDA_DOCKER", "false")
|
||||||
|
|
||||||
if USE_CUDA.lower() == "true":
|
if USE_CUDA.lower() == "true":
|
||||||
|
Loading…
Reference in New Issue
Block a user