Update as_safetensors+fp16_en.ipynb
Browse files
as_safetensors+fp16_en.ipynb
CHANGED
@@ -85,7 +85,7 @@
|
|
85 |
"for model in models:\n",
|
86 |
" if 0 < len(urllib.parse.urlparse(model).scheme): # if model is url\n",
|
87 |
" wget.download(model)\n",
|
88 |
-
" elif model.endswith((\".ckpt\", \".safetensors\")):\n",
|
89 |
" shutil.copy(\"/content/drive/MyDrive/\" + model, \"/content/\" + model) # get the model from mydrive\n",
|
90 |
" else:\n",
|
91 |
" print(f\"\\\"{model}\\\" is not a URL and is also not a file with a proper extension\")"
|
|
|
85 |
"for model in models:\n",
|
86 |
" if 0 < len(urllib.parse.urlparse(model).scheme): # if model is url\n",
|
87 |
" wget.download(model)\n",
|
88 |
+
" elif model.endswith((\".ckpt\", \".safetensors\", \".yaml\")):\n",
|
89 |
" shutil.copy(\"/content/drive/MyDrive/\" + model, \"/content/\" + model) # get the model from mydrive\n",
|
90 |
" else:\n",
|
91 |
" print(f\"\\\"{model}\\\" is not a URL and is also not a file with a proper extension\")"
|