Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -404,6 +404,7 @@ async def on_message(message):
|
|
404 |
images = []
|
405 |
audios = []
|
406 |
for file in message.attachments:
|
|
|
407 |
if file.content_type == "image":
|
408 |
imgCaption = "(ImageParsed: "
|
409 |
images.append(file)
|
|
|
404 |
images = []
|
405 |
audios = []
|
406 |
for file in message.attachments:
|
407 |
+
print(file.content_type)
|
408 |
if file.content_type == "image":
|
409 |
imgCaption = "(ImageParsed: "
|
410 |
images.append(file)
|