bugfix
This commit is contained in:
parent
bfd0731178
commit
bbf2474af5
@ -1,3 +1,4 @@
|
||||
from appPublic.log import debug, exception
|
||||
from ahserver.serverenv import ServerEnv
|
||||
from sqlor.dbpools import get_sor_context
|
||||
from .skillengine import IndustrialSkillEngine
|
||||
@ -23,6 +24,7 @@ async def text2video(request, params_kw=None):
|
||||
prompt = params_kw.prompt
|
||||
llmid = await get_llmid_by_llmcatelog('文生视频', providerid)
|
||||
if llmid is None:
|
||||
debug(f'---------text2video(): llmid is None----------')
|
||||
return f'image2video():{params_kw}, llmid not found'
|
||||
engine = IndustrialSkillEngine(request, llmid)
|
||||
ret = ''
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user