Skip to content

Commit c975a1e

Browse files
committed
fix: add HF_TOKEN to HF API for dataset repo creation
1 parent 1264d3f commit c975a1e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nemo/data-flywheel/tool-calling/2_finetuning_and_inference.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@
309309
},
310310
{
311311
"cell_type": "code",
312-
"execution_count": 8,
312+
"execution_count": null,
313313
"id": "bd240212-3272-419e-b19b-d31d8aede2b3",
314314
"metadata": {
315315
"ExecuteTime": {
@@ -332,8 +332,8 @@
332332
],
333333
"source": [
334334
"from huggingface_hub import HfApi\n",
335-
"\n",
336-
"hf_api = HfApi(endpoint=f\"{NDS_URL}/v1/hf\", token=\"\")\n",
335+
"from config import HF_TOKEN\n",
336+
"hf_api = HfApi(endpoint=f\"{NDS_URL}/v1/hf\", token=HF_TOKEN)\n",
337337
"\n",
338338
"# Create repo\n",
339339
"hf_api.create_repo(\n",

0 commit comments

Comments
 (0)