This commit is contained in:
yumoqing 2024-08-03 19:18:31 +08:00
parent ad9cb633fa
commit 186224c00a

View File

@ -4,7 +4,7 @@ from ahserver.serverenv import ServerEnv
from aiohttp.web import StreamResponse from aiohttp.web import StreamResponse
async def generate(request, **kw): async def generate(request, **kw):
params_kw = kw.get(params_kw, DictObject()) params_kw = kw.get('params_kw', DictObject())
model = params_kw.model model = params_kw.model
engine = None engine = None
g = ServerEnv() g = ServerEnv()