bugfix
This commit is contained in:
parent
6ffe11dbc7
commit
4f362eb4ca
@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"password_key":"!@#$%^&*(*&^%$QWERTYUIqwertyui234567",
|
"password_key":"!@#$%^&*(*&^%$QWERTYUIqwertyui234567",
|
||||||
"modelname":"Qwen/Qwen2-VL-2B-Instruct",
|
|
||||||
"modelname":"Qwen/Qwen2-VL-7B-Instruct",
|
"modelname":"Qwen/Qwen2-VL-7B-Instruct",
|
||||||
|
"modelname":"Qwen/Qwen2-VL-2B-Instruct",
|
||||||
"logger":{
|
"logger":{
|
||||||
"name":"qwenvl",
|
"name":"qwenvl",
|
||||||
"levelname":"info",
|
"levelname":"info",
|
||||||
"logfile":"$[workdir]$/logs/sage.log"
|
"logfile":"$[workdir]$/logs/qwenvl.log"
|
||||||
},
|
},
|
||||||
"filesroot":"$[workdir]$/files",
|
"filesroot":"$[workdir]$/files",
|
||||||
"website":{
|
"website":{
|
||||||
|
@ -4,6 +4,6 @@ ret = await inference(params_kw.prompt, params_kw.image, params_kw.video)
|
|||||||
t2 = time.time()
|
t2 = time.time()
|
||||||
info(f'{ret=}')
|
info(f'{ret=}')
|
||||||
return {
|
return {
|
||||||
"content":ret
|
"content":ret,
|
||||||
"time_cost":t2 - t1
|
"time_cost":t2 - t1
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user