mirror of
https://www.modelscope.cn/moonshotai/Kimi-VL-A3B-Thinking-2506.git
synced 2026-04-02 19:13:01 +08:00
Updates Transformers Inference code in README.md (#8)
- Updates Transformers Inference code in README.md (99589740eed1a93479b97d875dae412083e29af7) Co-authored-by: Tobias Haab <tobiashaab@users.noreply.huggingface.co>
This commit is contained in:
@ -193,7 +193,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|||||||
)
|
)
|
||||||
processor = AutoProcessor.from_pretrained(model_path, trust_remote_code=True)
|
processor = AutoProcessor.from_pretrained(model_path, trust_remote_code=True)
|
||||||
|
|
||||||
image_paths = ["url"]
|
image_paths = [url]
|
||||||
images = [Image.open(path) for path in image_paths]
|
images = [Image.open(path) for path in image_paths]
|
||||||
messages = [
|
messages = [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user