mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-29 07:22:12 +03:00
change numbers for dummy model dance diffusion
This commit is contained in:
@@ -73,7 +73,7 @@ class PipelineFastTests(unittest.TestCase):
|
||||
audio_from_tuple_slice = audio_from_tuple[0, -3:, -3:]
|
||||
|
||||
assert audio.shape == (1, 2, self.dummy_unet.sample_size)
|
||||
expected_slice = np.array([-0.7265, 1.0000, -0.8388, 0.1175, 0.9498, -1.0000])
|
||||
expected_slice = np.array([-0.8682, 1.0000, -1.0000, -0.3130, 0.5133, -1.0000])
|
||||
assert np.abs(audio_slice.flatten() - expected_slice).max() < 1e-2
|
||||
assert np.abs(audio_from_tuple_slice.flatten() - expected_slice).max() < 1e-2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user