20246688
Committed by GitHub

Update test.py (#560)

... ... @@ -259,7 +259,7 @@ def compute_features(filename: str) -> torch.Tensor:
# We pad 50 frames at the end so that it is able to detect eot
# You can use another value instead of 50.
mel = torch.nn.functional.pad(mel, (0, 0, 0, 50), "constant", 0)
mel = torch.nn.functional.pad(mel, (0, 0, 0, 1000), "constant", 0)
# Note that if it throws for a multilingual model,
# please use a larger value, say 300
... ...