diff --git a/modules/chat.py b/modules/chat.py index 88ba33bb..dfc301df 100644 --- a/modules/chat.py +++ b/modules/chat.py @@ -1271,8 +1271,6 @@ def clear_character_for_ui(state): if cache_path.exists(): cache_path.unlink() - logger.info("Cleared character fields and picture cache") - return state, state['name2'], state['context'], state['greeting'], None @@ -1779,7 +1777,6 @@ def handle_character_picture_change(picture): picture.save(Path(f'{cache_folder}/pfp_character.png'), format='PNG') thumb = make_thumbnail(picture) thumb.save(Path(f'{cache_folder}/pfp_character_thumb.png'), format='PNG') - logger.info("Updated character picture cache") else: # Remove cache files when picture is cleared for cache_file in ['pfp_character.png', 'pfp_character_thumb.png']: @@ -1787,8 +1784,6 @@ def handle_character_picture_change(picture): if cache_path.exists(): cache_path.unlink() - logger.info("Cleared character picture cache") - def handle_mode_change(state): history = load_latest_history(state)