Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -103,8 +103,8 @@ def get_vectordb(text, images, img_doc_files):
|
|
103 |
descs.append(img_doc_files[i]+"\n"+get_image_description(images[i]).replace(prompt, ""))
|
104 |
except:
|
105 |
descs.append("Could not generate image description due to some error")
|
106 |
-
print(descs[-1])
|
107 |
-
print()
|
108 |
|
109 |
# image_descriptions = get_image_descriptions(images)
|
110 |
image_dict = [{"image": image_to_bytes(img)} for img in images]
|
|
|
103 |
descs.append(img_doc_files[i]+"\n"+get_image_description(images[i]).replace(prompt, ""))
|
104 |
except:
|
105 |
descs.append("Could not generate image description due to some error")
|
106 |
+
# print(descs[-1])
|
107 |
+
# print()
|
108 |
|
109 |
# image_descriptions = get_image_descriptions(images)
|
110 |
image_dict = [{"image": image_to_bytes(img)} for img in images]
|