coyotte508 HF staff commited on
Commit
06dacf2
1 Parent(s): b6eff4d

Update src/lib/check-filename.ts

Browse files
Files changed (1) hide show
  1. src/lib/check-filename.ts +1 -1
src/lib/check-filename.ts CHANGED
@@ -3,7 +3,7 @@ export function checkFilename(filename: string) {
3
  !filename.endsWith('.safetensors') &&
4
  !filename.endsWith('.json') &&
5
  !filename.endsWith('.gguf') &&
6
- !filename.endsWith('.txt')
7
  !filename.endsWith('.model') &&
8
  !filename.endsWith('/')
9
  ) {
 
3
  !filename.endsWith('.safetensors') &&
4
  !filename.endsWith('.json') &&
5
  !filename.endsWith('.gguf') &&
6
+ !filename.endsWith('.txt') &&
7
  !filename.endsWith('.model') &&
8
  !filename.endsWith('/')
9
  ) {