10 lines
193 B
Plaintext
10 lines
193 B
Plaintext
info(f'{params_kw=}')
|
|
t1 = time.time()
|
|
ret = await inference(params_kw.prompt, params_kw.image, params_kw.video)
|
|
t2 = time.time()
|
|
info(f'{ret=}')
|
|
return {
|
|
"content":ret
|
|
"time_cost":t2 - t1
|
|
}
|