diff --git a/apps/web-crawl-q-and-a/web-qa.ipynb b/apps/web-crawl-q-and-a/web-qa.ipynb index ebe39af..87c530d 100644 --- a/apps/web-crawl-q-and-a/web-qa.ipynb +++ b/apps/web-crawl-q-and-a/web-qa.ipynb @@ -780,6 +780,10 @@ " chunk.append(sentence)\n", " tokens_so_far += token + 1\n", "\n", + " # Add the last chunk to the list of chunks\n", + " if chunk:\n", + " chunks.append(\". \".join(chunk) + \".\")\n", + "\n", " return chunks\n", " \n", "\n",