TheoLvs commited on
Commit
7fa8087
1 Parent(s): c929741

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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