bugfix
This commit is contained in:
parent
f30df5a6e0
commit
c2fd576f11
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user