open-mmlab / Amphion

Amphion (/æmˈfaɪən/) is a toolkit for Audio, Music, and Speech Generation. Its purpose is to support reproducible research and help junior researchers and engineers get started in the field of audio, music, and speech generation research and development.
https://openhlt.github.io/amphion/
MIT License
4.28k stars 365 forks source link

[BUG]: Uid format in `preprocessors/popbutfy.py` may be incorrect #196

Open Nugine opened 2 months ago

Nugine commented 2 months ago

Describe the bug

Found by linter scanning

$ ruff check --select F523
preprocessors/popbutfy.py:104:28: F523 [*] `.format` call has unused arguments at position(s): 2
Found 1 error.
[*] 1 fixable with the `--fix` option.

https://github.com/open-mmlab/Amphion/blob/d33551476d792e608c13cec1bfa32283c868a2fb/preprocessors/popbutfy.py#L104

https://github.com/open-mmlab/Amphion/blob/d33551476d792e608c13cec1bfa32283c868a2fb/preprocessors/popbutfy.py#L100-L105

RMSnow commented 2 months ago

Hi @Nugine, thanks a lot! We will patch it soon (cc @Adorable-Qin )