mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-21 23:57:58 +01:00
UI: refresh the pfp cache on handle_your_picture_change
This commit is contained in:
parent
58a1581b96
commit
d05846eae5
@ -1180,7 +1180,7 @@ def handle_delete_template_click(template):
|
|||||||
|
|
||||||
def handle_your_picture_change(picture, state):
|
def handle_your_picture_change(picture, state):
|
||||||
upload_your_profile_picture(picture)
|
upload_your_profile_picture(picture)
|
||||||
html = redraw_html(state['history'], state['name1'], state['name2'], state['mode'], state['chat_style'], state['character_menu'])
|
html = redraw_html(state['history'], state['name1'], state['name2'], state['mode'], state['chat_style'], state['character_menu'], reset_cache=True)
|
||||||
|
|
||||||
return html
|
return html
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user