Spaces:
Running
Running
Commit
•
06dacf2
1
Parent(s):
b6eff4d
Update src/lib/check-filename.ts
Browse files
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 |
) {
|