fix: chroma pysqlite version (#350)

This commit is contained in:
cachho
2023-07-27 09:42:27 +02:00
committed by GitHub
parent 8c91b75b98
commit 079e35b205
3 changed files with 34 additions and 2 deletions

View File

@@ -1,6 +1,12 @@
import os
from chromadb.utils import embedding_functions
try:
from chromadb.utils import embedding_functions
except RuntimeError:
from embedchain.utils import use_pysqlite3
use_pysqlite3()
from chromadb.utils import embedding_functions
from .BaseAppConfig import BaseAppConfig