Spaces:
Runtime error
Runtime error
Update utils.py
Browse files
utils.py
CHANGED
@@ -46,6 +46,7 @@ from chromadb.errors import InvalidDimensionException
|
|
46 |
import io
|
47 |
from PIL import Image, ImageDraw, ImageOps, ImageFont
|
48 |
import base64
|
|
|
49 |
|
50 |
from sklearn.feature_extraction.text import TfidfVectorizer
|
51 |
from sklearn.metrics.pairwise import cosine_similarity
|
|
|
46 |
import io
|
47 |
from PIL import Image, ImageDraw, ImageOps, ImageFont
|
48 |
import base64
|
49 |
+
from tempfile import NamedTemporaryFile
|
50 |
|
51 |
from sklearn.feature_extraction.text import TfidfVectorizer
|
52 |
from sklearn.metrics.pairwise import cosine_similarity
|