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