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 d74fdc3..1872cda 100644 Binary files a/db.sqlite3 and b/db.sqlite3 differ 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)