This commit is contained in:
yumoqing 2024-09-04 20:06:43 +08:00
parent bdcdde01f6
commit ce2b233bdc

View File

@ -25,7 +25,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=}) 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: