anonderpling commited on
Commit
d8cebb7
1 Parent(s): 77bf65a

fix move_nsfw.js

Browse files
Files changed (1) hide show
  1. move_nsfw.js +1 -1
move_nsfw.js CHANGED
@@ -5,7 +5,7 @@ var moves=files.filter(file=>{
5
  });
6
  moves = moves.map(file=>{
7
  m=file.mirror_path.replace(/\\/g,'/');
8
- m=m.replace(/models\/([^/]+)\/(.+)/g,'git mv "models/$1/$2" "models/$1/nsfw/$2"');
9
  return m;
10
  }).join('\n')
11
 
 
5
  });
6
  moves = moves.map(file=>{
7
  m=file.mirror_path.replace(/\\/g,'/');
8
+ m=m.replace(/(models\/[^/]+|embeddings)\/(.+)/g,'git mv "$1/$2" "$1/nsfw/$2"');
9
  return m;
10
  }).join('\n')
11