Skip to content

Commit

Permalink
Skip getting an article summary
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniilRoman committed Nov 3, 2024
1 parent 873917c commit 8969cf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/modules/blogs/blogs.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,11 @@ func getSummaryAndSaveStats(doc *goquery.Document, client *utils.ChatGptService)
popularWords := ""
go func() {
defer wg.Done()
summary = client.SummarizeText(textToSummarize)
// summary = client.SummarizeText(textToSummarize)
}()
go func() {
defer wg.Done()
popularWords = client.ArticlePopularWords(textToSummarize)
// popularWords = client.ArticlePopularWords(textToSummarize)
}()
wg.Wait()

Expand Down

0 comments on commit 8969cf3

Please sign in to comment.