Update Train_JupyterLab.ipynb
This commit is contained in:
parent
b69793623b
commit
8713a94ff5
|
@ -261,9 +261,9 @@
|
|||
"out = Output()\n",
|
||||
"\n",
|
||||
"def upload_ckpts(_):\n",
|
||||
" repo_id=f\"{hfuser.value}/{hfrepo.value}\"\n",
|
||||
" repo_id=f"{hfuser.value or hfuser.placeholder}/{hfrepo.value or hfrepo.placeholder}"\"\n",
|
||||
" with out:\n",
|
||||
" if ckpt_picker is None or len(ckpt_picker) < 1:\n",
|
||||
" if ckpt_picker is None or len(ckpt_picker.value) < 1:\n",
|
||||
" print(\"Nothing selected for upload, make sure to click one of the ckpt files in the list, or, you have no ckpt files in the current directory.\")\n",
|
||||
" for ckpt in ckpt_picker.value:\n",
|
||||
" print(f\"Uploading to HF: huggingface.co/{repo_id}/{ckpt}\")\n",
|
||||
|
|
Loading…
Reference in New Issue