Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ async def echo(message, history, state, persona):
|
|
49 |
"mime_type": path_gcp.mime_type,
|
50 |
"expiration_time": path_gcp.expiration_time,
|
51 |
})
|
52 |
-
attached_file =
|
53 |
|
54 |
user_message_parts = [types.Part.from_text(text=message['text'])]
|
55 |
if attached_file: user_message_parts.append(attached_file)
|
|
|
49 |
"mime_type": path_gcp.mime_type,
|
50 |
"expiration_time": path_gcp.expiration_time,
|
51 |
})
|
52 |
+
attached_file = path_wrap
|
53 |
|
54 |
user_message_parts = [types.Part.from_text(text=message['text'])]
|
55 |
if attached_file: user_message_parts.append(attached_file)
|