Update app.py
Browse files
app.py
CHANGED
@@ -292,7 +292,7 @@ async def chat(query,history,audience,sources,reports):
|
|
292 |
|
293 |
if doc.metadata["chunk_type"] == "image":
|
294 |
try:
|
295 |
-
key = f"Image {i}"
|
296 |
image_path = doc.metadata["image_path"].split("documents/")[1]
|
297 |
img = get_image_from_azure_blob_storage(image_path)
|
298 |
|
|
|
292 |
|
293 |
if doc.metadata["chunk_type"] == "image":
|
294 |
try:
|
295 |
+
key = f"Image {i+1}"
|
296 |
image_path = doc.metadata["image_path"].split("documents/")[1]
|
297 |
img = get_image_from_azure_blob_storage(image_path)
|
298 |
|