From 8afc3ef4e1d6be699e0dc29177ced9ec8da1d333 Mon Sep 17 00:00:00 2001 From: gokul Date: Fri, 23 Jun 2023 21:22:59 +0530 Subject: [PATCH] fix filename error --- text_utilities.py | 1 - whisjax_realtime.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/text_utilities.py b/text_utilities.py index 1ff0a70c..be022918 100644 --- a/text_utilities.py +++ b/text_utilities.py @@ -20,7 +20,6 @@ def preprocess_sentence(sentence): def compute_similarity(sent1, sent2): tfidf_vectorizer = TfidfVectorizer() - print("semt1", sent1, sent2) if sent1 is not None and sent2 is not None: tfidf_matrix = tfidf_vectorizer.fit_transform([sent1, sent2]) return cosine_similarity(tfidf_matrix[0], tfidf_matrix[1])[0][0] diff --git a/whisjax_realtime.py b/whisjax_realtime.py index 6bbe0f19..7694e17a 100644 --- a/whisjax_realtime.py +++ b/whisjax_realtime.py @@ -124,7 +124,7 @@ def main(): # S3 : Push artefacts to S3 bucket suffix = NOW.strftime("%m-%d-%Y_%H:%M:%S") files_to_upload = ["real_time_transcript_" + suffix + ".txt", - "real_time_transcript_with_timestamp" + suffix + ".txt", + "real_time_transcript_with_timestamp_" + suffix + ".txt", "real_time_df_" + suffix + ".pkl", "real_time_wordcloud_" + suffix + ".png", "real_time_mappings_" + suffix + ".pkl",