Next (#487)
* Fix voice extractor (#483) * changes * changes * Minor cleanup * Use 48000 everywhere * Fix test * Balance between processing and VRAM * Warmup the read_static_voice() cache * Warmup the read_static_voice() cache * Simplify replace_audio to prevent FFmpeg 7 infite loop * Fix potential exception in conditional download * Add more deoldify models * Rename eye-glasses to glasses, Prepare release 2.5.1 --------- Co-authored-by: Harisreedhar <46858047+harisreedhar@users.noreply.github.com>
This commit is contained in:
@@ -21,6 +21,6 @@ def test_get_audio_frame() -> None:
|
||||
|
||||
|
||||
def test_read_static_audio() -> None:
|
||||
assert len(read_static_audio('.assets/examples/source.mp3', 25)) == 91
|
||||
assert len(read_static_audio('.assets/examples/source.wav', 25)) == 91
|
||||
assert len(read_static_audio('.assets/examples/source.mp3', 25)) == 280
|
||||
assert len(read_static_audio('.assets/examples/source.wav', 25)) == 280
|
||||
assert read_static_audio('invalid', 25) is None
|
||||
|
||||
Reference in New Issue
Block a user