Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- .trunk/configs/.yamllint.yaml +25 -6
- src/vocalizr/model.py +1 -0
.trunk/configs/.yamllint.yaml
CHANGED
@@ -1,7 +1,26 @@
|
|
|
|
1 |
rules:
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
extends: default
|
2 |
rules:
|
3 |
+
braces:
|
4 |
+
level: warning
|
5 |
+
max-spaces-inside: 1
|
6 |
+
brackets:
|
7 |
+
level: warning
|
8 |
+
max-spaces-inside: 1
|
9 |
+
colons:
|
10 |
+
level: warning
|
11 |
+
commas:
|
12 |
+
level: warning
|
13 |
+
comments: disable
|
14 |
+
comments-indentation: disable
|
15 |
+
document-start: disable
|
16 |
+
empty-lines:
|
17 |
+
level: warning
|
18 |
+
hyphens:
|
19 |
+
level: warning
|
20 |
+
indentation:
|
21 |
+
level: warning
|
22 |
+
indent-sequences: consistent
|
23 |
+
line-length:
|
24 |
+
level: warning
|
25 |
+
allow-non-breakable-inline-mappings: true
|
26 |
+
truthy: disable
|
src/vocalizr/model.py
CHANGED
@@ -7,6 +7,7 @@ from numpy import float32
|
|
7 |
from numpy.typing import NDArray
|
8 |
from soundfile import write
|
9 |
from torch import zeros
|
|
|
10 |
from vocalizr import AUDIO_FILE_PATH, PIPELINE
|
11 |
|
12 |
|
|
|
7 |
from numpy.typing import NDArray
|
8 |
from soundfile import write
|
9 |
from torch import zeros
|
10 |
+
|
11 |
from vocalizr import AUDIO_FILE_PATH, PIPELINE
|
12 |
|
13 |
|