From 8a49197d9aa4feac8693c8f6c618eab8e3fa087b Mon Sep 17 00:00:00 2001 From: Swastik Sharma Date: Sat, 27 May 2023 21:53:09 +0530 Subject: [PATCH] Minor tweaks fixed Signed-off-by: Swastik Sharma --- bookbuddy/views.py | 4 +--- db.sqlite3 | Bin 229376 -> 229376 bytes youtubeplus/views.py | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/bookbuddy/views.py b/bookbuddy/views.py index e783904..74170b7 100644 --- a/bookbuddy/views.py +++ b/bookbuddy/views.py @@ -16,15 +16,13 @@ def bookbuddy(request): print(len(request.FILES)) file = request.FILES['file'] val, text = getText(file, "") - print("summary") + print("The summary generation hs started...") parser = PlaintextParser(text, Tokenizer('english')) summarizer_1 = LuhnSummarizer() summary_1 = summarizer_1(parser.document, 10) output = "" - print('thhis') for sentence in summary_1: output += str(sentence) - print('thhis is') file = text_to_audio(output) ctx = { 'file': file, diff --git a/db.sqlite3 b/db.sqlite3 index d74fdc3bce79594861dd45ed81329e7c68f48073..1872cda7134b15cb9e0a19ba52b9efdc0482e096 100644 GIT binary patch delta 70 zcmZo@;A?2$n;^~jaH5Pe?rV< Zor%!~NLw&A8_#Svp2@h~cqY@?X8R diff --git a/youtubeplus/views.py b/youtubeplus/views.py index 666dc2f..99e1d0a 100644 --- a/youtubeplus/views.py +++ b/youtubeplus/views.py @@ -56,7 +56,7 @@ def youtubeplus(request): print(url) audio, text = urlToText(url) summary = "" - print(" summary is bein calculated") + print(" Summary is being calculated") parser = PlaintextParser(text, Tokenizer('english')) summarizer_1 = LuhnSummarizer() summary_1 = summarizer_1(parser.document, lines)