This commit is contained in:
yumoqing 2025-04-23 15:17:59 +08:00
parent 6ffe11dbc7
commit 4f362eb4ca
2 changed files with 3 additions and 3 deletions

View File

@ -1,11 +1,11 @@
{
"password_key":"!@#$%^&*(*&^%$QWERTYUIqwertyui234567",
"modelname":"Qwen/Qwen2-VL-2B-Instruct",
"modelname":"Qwen/Qwen2-VL-7B-Instruct",
"modelname":"Qwen/Qwen2-VL-2B-Instruct",
"logger":{
"name":"qwenvl",
"levelname":"info",
"logfile":"$[workdir]$/logs/sage.log"
"logfile":"$[workdir]$/logs/qwenvl.log"
},
"filesroot":"$[workdir]$/files",
"website":{

View File

@ -4,6 +4,6 @@ ret = await inference(params_kw.prompt, params_kw.image, params_kw.video)
t2 = time.time()
info(f'{ret=}')
return {
"content":ret
"content":ret,
"time_cost":t2 - t1
}