subaqua commited on
Commit
0632dfe
1 Parent(s): 314c296

Update as_safetensors+fp16.ipynb

Browse files
Files changed (1) hide show
  1. as_safetensors+fp16.ipynb +1 -1
as_safetensors+fp16.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}\\\"はURLではなく、正しい形式のファイルでもありません\")"
 
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}\\\"はURLではなく、正しい形式のファイルでもありません\")"