From 1c1fd3be46f66b2f3110aed52a155817ca3392b7 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Tue, 10 Jun 2025 14:29:28 -0700 Subject: [PATCH] Remove some log messages --- modules/chat.py | 5 ----- 1 file changed, 5 deletions(-) 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)