Skip to content

Commit f4acafe

Browse files
committed
format paddlespeech with pre-commit
1 parent f5367f5 commit f4acafe

File tree

66 files changed

+1100
-982
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+1100
-982
lines changed

demos/audio_searching/src/operations/load.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ def get_audios(path):
2626
"""
2727
supported_formats = [".wav", ".mp3", ".ogg", ".flac", ".m4a"]
2828
return [
29-
item for sublist in [[os.path.join(dir, file) for file in files]
30-
for dir, _, files in list(os.walk(path))]
29+
item
30+
for sublist in [[os.path.join(dir, file) for file in files]
31+
for dir, _, files in list(os.walk(path))]
3132
for item in sublist if os.path.splitext(item)[1] in supported_formats
3233
]
3334

demos/speech_web/API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,4 +401,4 @@ curl -X 'GET' \
401401
"code": 0,
402402
"result":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
403403
"message": "ok"
404-
```
404+
```

0 commit comments

Comments
 (0)