Spaces:
Sleeping
Sleeping
Ankitajadhav
commited on
Commit
•
1d031d0
1
Parent(s):
fe984aa
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ embedding_function = OpenCLIPEmbeddingFunction()
|
|
44 |
image_loader = ImageLoader() # must be if you reads from URIs
|
45 |
|
46 |
# initialize separate collection for image and text data
|
47 |
-
def create_collection(name_image_collection,name_text_collection)
|
48 |
collection_images = client.create_collection(
|
49 |
name=name_image_collection,
|
50 |
embedding_function=embedding_function,
|
|
|
44 |
image_loader = ImageLoader() # must be if you reads from URIs
|
45 |
|
46 |
# initialize separate collection for image and text data
|
47 |
+
def create_collection(name_image_collection,name_text_collection):
|
48 |
collection_images = client.create_collection(
|
49 |
name=name_image_collection,
|
50 |
embedding_function=embedding_function,
|