mirror of
https://github.com/2noise/ChatTTS.git
synced 2026-08-29 02:10:59 +08:00
chore(format): run black on dev (#554)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
fb4676e3de
commit
c7ce7c5975
+3
-1
@@ -383,7 +383,9 @@ class Chat:
|
||||
params_infer_code,
|
||||
):
|
||||
wavs = self._decode_to_wavs(
|
||||
result, length, use_decoder,
|
||||
result,
|
||||
length,
|
||||
use_decoder,
|
||||
)
|
||||
result.destroy()
|
||||
yield wavs
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import numpy as np
|
||||
from numba import jit
|
||||
|
||||
|
||||
@jit
|
||||
def float_to_int16(audio: np.ndarray) -> np.ndarray:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user