Spaces:
Running
Running
aifeifei798
commited on
Update feifeilib/feifeichat.py
Browse files- 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)
|