Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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()
|