This commit is contained in:
yumoqing 2024-08-06 16:20:52 +08:00
parent d28b884f6d
commit a41a7f7230

View File

@ -44,7 +44,6 @@ def float32array_to_wav(samples, sample_rate=16000, num_channels=1):
async def generate(request, **kw): async def generate(request, **kw):
params_kw = kw.get('params_kw', DictObject()) params_kw = kw.get('params_kw', DictObject())
info(f'{params_kw=}')
model = params_kw.model model = params_kw.model
audio = params_kw.audio audio = params_kw.audio
if audio is None: if audio is None: