bugfix
This commit is contained in:
parent
f09c6f82e9
commit
4b6de15a04
@ -1,9 +1,11 @@
|
||||
from appPublic.log import info, debug, warning, error, exception, critical
|
||||
from appPublic.dictObject import DictObject
|
||||
from ahserver.serverenv import ServerEnv
|
||||
from aiohttp.web import StreamResponse
|
||||
|
||||
async def generate(request, **kw):
|
||||
model = kw.get('model', 'whisper')
|
||||
params_kw = kw.get(params_kw, DictObject())
|
||||
model = params_kw.model
|
||||
engine = None
|
||||
g = ServerEnv()
|
||||
if model=='whisper':
|
||||
|
Loading…
Reference in New Issue
Block a user