From 7946fcb4aa55469b0e2ba0c1f4a4e95139fb8a3b Mon Sep 17 00:00:00 2001 From: ai-modelscope Date: Sat, 2 Aug 2025 00:13:01 +0800 Subject: [PATCH] Updates Transformers Inference code in README.md (#8) - Updates Transformers Inference code in README.md (99589740eed1a93479b97d875dae412083e29af7) Co-authored-by: Tobias Haab --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1390c38..cc1b0ad 100644 --- a/README.md +++ b/README.md @@ -193,7 +193,7 @@ model = AutoModelForCausalLM.from_pretrained( ) 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] messages = [ {