rphrp1985 commited on
Commit
e60e9f7
1 Parent(s): 9cdce27

Update app_dialogue.py

Browse files
Files changed (1) hide show
  1. app_dialogue.py +2 -1
app_dialogue.py CHANGED
@@ -251,7 +251,8 @@ def format_user_prompt_with_im_history_and_system_conditioning(
251
  + [{"type": "text", "text": user_prompt["text"]}],
252
  }
253
  )
254
- resulting_images.extend([Image.open(path) for path in user_prompt["files"]])
 
255
 
256
  return resulting_messages, resulting_images
257
 
 
251
  + [{"type": "text", "text": user_prompt["text"]}],
252
  }
253
  )
254
+
255
+ resulting_images.extend([load_image_from_url(path) for path in user_prompt["files"]])
256
 
257
  return resulting_messages, resulting_images
258