subaqua commited on
Commit
4ad5427
1 Parent(s): 0632dfe

Update as_safetensors+fp16_en.ipynb

Browse files
Files changed (1) hide show
  1. as_safetensors+fp16_en.ipynb +1 -1
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\")"