UI: refresh the pfp cache on handle_your_picture_change

This commit is contained in:
oobabooga 2024-07-21 10:17:22 -07:00
parent 58a1581b96
commit d05846eae5

View file

@ -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