mirror of
https://github.com/open-webui/open-webui
synced 2024-11-23 00:27:40 +00:00
Merge pull request #1514 from JanSolo1/EMBBEDING-MODELS-COMMENT-FIX
Comment fix config.py ln 412
This commit is contained in:
commit
d6260fd20c
@ -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 this right 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