KingNish commited on
Commit
ca93a15
1 Parent(s): f46faa5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -100,7 +100,7 @@ def respond(message, history):
100
  if len(message["files"]) == 1:
101
  image = [message["files"][0]]
102
  elif len(message["files"]) > 1:
103
- image = [for msg in message["files"]]
104
 
105
  video_extensions = ("avi", "mp4", "mov", "mkv", "flv", "wmv", "mjpeg", "wav", "gif", "webm", "m4v", "3gp")
106
  image_extensions = Image.registered_extensions()
 
100
  if len(message["files"]) == 1:
101
  image = [message["files"][0]]
102
  elif len(message["files"]) > 1:
103
+ image = [msg for msg in message["files"]]
104
 
105
  video_extensions = ("avi", "mp4", "mov", "mkv", "flv", "wmv", "mjpeg", "wav", "gif", "webm", "m4v", "3gp")
106
  image_extensions = Image.registered_extensions()