rairo commited on
Commit
3ea197f
·
verified ·
1 Parent(s): bb9139d

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -164,7 +164,7 @@ def hook():
164
  messenger.send_message(message=f"{response}", recipient_id=mobile)
165
  else:
166
  firestore_msg1, parsed_trans_data1, response1 = process_user_msg(message, mobile)
167
- if isinstance(response, str) and os.path.isfile(os.path.join(firestore_msg1)):
168
  image_path = os.path.join(firestore_msg1)
169
  print("My image path:", image_path)
170
  with open(image_path, "rb") as file:
 
164
  messenger.send_message(message=f"{response}", recipient_id=mobile)
165
  else:
166
  firestore_msg1, parsed_trans_data1, response1 = process_user_msg(message, mobile)
167
+ if isinstance(firestore_msg1, str) and os.path.isfile(os.path.join(firestore_msg1)):
168
  image_path = os.path.join(firestore_msg1)
169
  print("My image path:", image_path)
170
  with open(image_path, "rb") as file: