xiaolv commited on
Commit
4586d7d
·
1 Parent(s): fe6b177

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -132,7 +132,7 @@ def request_to_v2(message, cookie, user_id,attachment=None,context=[]):
132
  attachments = [attachment_response]
133
  print(f"attachment_response:{attachment_response}")
134
  else:
135
- bots = {"Error: Invalid file format. Please try again."}
136
  print(bots)
137
  context += [bots]
138
  responses = [(u, b) for u, b in zip(context[::2], context[1::2])]
 
132
  attachments = [attachment_response]
133
  print(f"attachment_response:{attachment_response}")
134
  else:
135
+ bots = "Error: Invalid file format. Please try again."
136
  print(bots)
137
  context += [bots]
138
  responses = [(u, b) for u, b in zip(context[::2], context[1::2])]