Style changes
This commit is contained in:
parent
e9e75a9ec7
commit
8fa5f651d6
3 changed files with 9 additions and 10 deletions
|
@ -49,7 +49,6 @@ def add_chat_picture(picture, text, visible_text):
|
|||
img_str = base64.b64encode(buffer.getvalue()).decode('utf-8')
|
||||
image = f'<img src="data:image/jpeg;base64,{img_str}">'
|
||||
|
||||
|
||||
if '<image>' in text:
|
||||
text = text.replace('<image>', image)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue