From f0077536e0aac4c9eef0669a2e503e5f30911c95 Mon Sep 17 00:00:00 2001 From: SayanoAI <28544690+SayanoAI@users.noreply.github.com> Date: Sun, 21 Jul 2024 23:18:44 -0400 Subject: [PATCH] fixed transcription caching --- custom_nodes/stt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_nodes/stt.py b/custom_nodes/stt.py index 3b1436b..80c57db 100644 --- a/custom_nodes/stt.py +++ b/custom_nodes/stt.py @@ -104,7 +104,7 @@ class AudioTranscriptionNode: @staticmethod def load_cache(*args,save_filename=""): results = None - if save_filename: save_filename=get_hash(*args) + if not save_filename: save_filename=get_hash(*args) cache_name = os.path.join(BASE_CACHE_DIR,"stt",f"{save_filename}.json") if os.path.isfile(cache_name):