Skip to content

Commit 78a7b4a

Browse files
committed
Fix summary generation and improve UI
1 parent 99f6bf6 commit 78a7b4a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

app.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,13 @@ async def get_article_summaries(request_body, request_headers, URLsToBrowse):
546546
Summaries = [summary]
547547
else:
548548
Summaries.append(summary)
549+
if (currentPage + 1) == len(URLsToBrowse) - 1:
550+
set_status_message("Analyzing...")
551+
else:
552+
if currentPage % 2 == 1:
553+
set_status_message("Browsing...")
554+
555+
currentPage += 1
549556

550557
return Summaries
551558

0 commit comments

Comments
 (0)