mirror of https://github.com/Mai-with-u/MaiBot.git
Update utils_image.py
parent
5ee3d7ea43
commit
9b2b2010dd
|
|
@ -570,7 +570,7 @@ class ImageManager:
|
||||||
|
|
||||||
# 获取VLM描述
|
# 获取VLM描述
|
||||||
description, _ = await self.vlm.generate_response_for_image(
|
description, _ = await self.vlm.generate_response_for_image(
|
||||||
prompt, image_base64, image_format, temperature=0.4, max_tokens=300
|
prompt, image_base64, image_format, temperature=0.4
|
||||||
)
|
)
|
||||||
|
|
||||||
if description is None:
|
if description is None:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue