chansung commited on
Commit
b23bc1e
·
verified ·
1 Parent(s): bc7f236

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = path_gcp
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)