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):