final
Former-commit-id: 251b57f490efdc292b0c4c019431219b75ee890c
This commit is contained in:
2
utils.py
2
utils.py
@ -420,7 +420,7 @@ def send_data_to_platform(token, data, picture):
|
||||
picture_data = picture_file.read()
|
||||
base64_encoded_picture = base64.b64encode(picture_data).decode("utf-8")
|
||||
|
||||
print(base64_encoded_picture)
|
||||
# print(base64_encoded_picture)
|
||||
|
||||
# 更新数据字典,添加 Base64 编码的图片
|
||||
data["final_image"] = base64_encoded_picture
|
||||
|
Reference in New Issue
Block a user