aifeifei798 commited on
Commit
3c6eeb4
·
verified ·
1 Parent(s): a840a21

Update feifeilib/feifeichat.py

Browse files
Files changed (1) hide show
  1. feifeilib/feifeichat.py +1 -1
feifeilib/feifeichat.py CHANGED
@@ -41,7 +41,7 @@ def encode_image(image_path):
41
  def feifeichat(message, history, feifei_select, additional_dropdown, image_mod):
42
  message_text = message.get("text", "")
43
  message_files = message.get("files", [])
44
-
45
  if message_files:
46
  message_file = message_files[0]
47
  base64_image = encode_image(message_file)
 
41
  def feifeichat(message, history, feifei_select, additional_dropdown, image_mod):
42
  message_text = message.get("text", "")
43
  message_files = message.get("files", [])
44
+ print(message)
45
  if message_files:
46
  message_file = message_files[0]
47
  base64_image = encode_image(message_file)