multimodalart HF Staff commited on
Commit
6257581
·
verified ·
1 Parent(s): 8fe6234

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -64,7 +64,8 @@ def unified_image_generator(
64
  if images:
65
  # If there are images, open them and add to contents
66
  for image_path in images:
67
- contents.append(Image.open(image_path))
 
68
 
69
  # Always add the prompt to the contents
70
  contents.append(prompt)
 
64
  if images:
65
  # If there are images, open them and add to contents
66
  for image_path in images:
67
+ print(image_path)
68
+ contents.append(Image.open(image_path[0]))
69
 
70
  # Always add the prompt to the contents
71
  contents.append(prompt)