Skip to content

Commit

Permalink
docs: fix aload function to be asynchronous
Browse files Browse the repository at this point in the history
  • Loading branch information
yeounhak committed Nov 25, 2024
1 parent b62b5d1 commit 60dd0bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/integrations/document_loaders/web_base.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": null,
"id": "49586eac",
"metadata": {},
"outputs": [
Expand All @@ -198,7 +198,7 @@
"source": [
"loader = WebBaseLoader([\"https://www.espn.com/\", \"https://google.com\"])\n",
"loader.requests_per_second = 1\n",
"docs = loader.aload()\n",
"docs = await loader.aload()\n",
"docs"
]
},
Expand Down

0 comments on commit 60dd0bb

Please sign in to comment.