Skip to content

Commit 180397c

Browse files
committed
feat(lab-4341): add missing file extension
1 parent a1bdd13 commit 180397c

2 files changed

Lines changed: 7 additions & 15 deletions

File tree

docs/sdk/tutorials/importing_pdf_assets.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ external_ids = ["2306.17766", "2306.17582", "2306.17514"]
8989
assets = kili.append_many_to_dataset(
9090
project_id=project_id,
9191
content_array=[
92-
"https://arxiv.org/pdf/2306.17766",
93-
"https://arxiv.org/pdf/2306.17582",
94-
"https://arxiv.org/pdf/2306.17514",
92+
"https://arxiv.org/pdf/2306.17766.pdf",
93+
"https://arxiv.org/pdf/2306.17582.pdf",
94+
"https://arxiv.org/pdf/2306.17514.pdf",
9595
],
9696
external_id_array=external_ids,
9797
)

recipes/importing_pdf_assets.ipynb

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -132,25 +132,17 @@
132132
"cell_type": "code",
133133
"execution_count": null,
134134
"metadata": {},
135-
"outputs": [
136-
{
137-
"name": "stderr",
138-
"output_type": "stream",
139-
"text": [
140-
"100%|██████████| 3/3 [00:01<00:00, 2.92it/s]\n"
141-
]
142-
}
143-
],
135+
"outputs": [],
144136
"source": [
145137
"project_id = project[\"id\"]\n",
146138
"external_ids = [\"2306.17766\", \"2306.17582\", \"2306.17514\"]\n",
147139
"\n",
148140
"assets = kili.append_many_to_dataset(\n",
149141
" project_id=project_id,\n",
150142
" content_array=[\n",
151-
" \"https://arxiv.org/pdf/2306.17766\",\n",
152-
" \"https://arxiv.org/pdf/2306.17582\",\n",
153-
" \"https://arxiv.org/pdf/2306.17514\",\n",
143+
" \"https://arxiv.org/pdf/2306.17766.pdf\",\n",
144+
" \"https://arxiv.org/pdf/2306.17582.pdf\",\n",
145+
" \"https://arxiv.org/pdf/2306.17514.pdf\",\n",
154146
" ],\n",
155147
" external_id_array=external_ids,\n",
156148
")"

0 commit comments

Comments
 (0)