This commit is contained in:
yumoqing 2024-09-04 19:11:14 +08:00
parent f30df5a6e0
commit c2fd576f11

View File

@ -24,6 +24,7 @@ def save_base64_wav(base64_data, output_file,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_file = params_kw.audio_file audio_file = params_kw.audio_file
if not audio_file: if not audio_file: