Spaces:
Runtime error
Runtime error
Update utils.py
Browse files
utils.py
CHANGED
@@ -40,6 +40,9 @@ from langchain.prompts import PromptTemplate
|
|
40 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
41 |
from langchain.vectorstores import Chroma
|
42 |
from chromadb.errors import InvalidDimensionException
|
|
|
|
|
|
|
43 |
|
44 |
|
45 |
logging.basicConfig(
|
|
|
40 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
41 |
from langchain.vectorstores import Chroma
|
42 |
from chromadb.errors import InvalidDimensionException
|
43 |
+
import io
|
44 |
+
from PIL import Image, ImageDraw, ImageOps, ImageFont
|
45 |
+
import base64
|
46 |
|
47 |
|
48 |
logging.basicConfig(
|