mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-22 08:30:14 +00:00
Fix Typos in Documentation and Python Comments (#5658)
* Update istftnet.py Signed-off-by: Maxim Evtush <154841002+maximevtush@users.noreply.github.com> * Update GPU-acceleration.md Signed-off-by: Maxim Evtush <154841002+maximevtush@users.noreply.github.com> --------- Signed-off-by: Maxim Evtush <154841002+maximevtush@users.noreply.github.com>
This commit is contained in:
@ -154,7 +154,7 @@ class SineGen(torch.nn.Module):
|
||||
""" f0_values: (batchsize, length, dim)
|
||||
where dim indicates fundamental tone and overtones
|
||||
"""
|
||||
# convert to F0 in rad. The interger part n can be ignored
|
||||
# convert to F0 in rad. The integer part n can be ignored
|
||||
# because 2 * np.pi * n doesn't affect phase
|
||||
rad_values = (f0_values / self.sampling_rate) % 1
|
||||
|
||||
|
Reference in New Issue
Block a user