mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-21 18:24:59 +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:
parent
9bcf4c56f1
commit
add8fc35a2
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue