mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
Style changes
This commit is contained in:
parent
e9e75a9ec7
commit
8fa5f651d6
@ -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…
Reference in New Issue
Block a user