fix pipeline bugs

This commit is contained in:
gokul
2023-06-23 12:16:10 +05:30
parent 037ef8bc41
commit c8c2f6b6b7
4 changed files with 30 additions and 15 deletions

View File

@@ -106,10 +106,6 @@ def main():
transcript_with_timestamp = post_process_transcription(transcript_with_timestamp)
transcript_text = ""
for chunk in transcript_with_timestamp["chunks"]:
transcript_text += chunk["text"]
logger.info("Creating word cloud")
create_wordcloud(NOW, True)
@@ -125,7 +121,7 @@ def main():
"real_time_mappings_" + suffix + ".pkl"]
upload_files(files_to_upload)
summarize(transcript_text, NOW, True, True)
summarize(transcript_with_timestamp["text"], NOW, True, True)
logger.info("Summarization completed")