bugfix
This commit is contained in:
parent
eb9650b7ec
commit
4946c05bc8
@ -20,7 +20,7 @@ async def generate(request, **kw):
|
|||||||
engine = g.whisper_engine
|
engine = g.whisper_engine
|
||||||
|
|
||||||
if engine is None:
|
if engine is None:
|
||||||
retrun {
|
return {
|
||||||
'status':'error',
|
'status':'error',
|
||||||
'message':f'model={model} is not defined'
|
'message':f'model={model} is not defined'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user