From 564b8de9e0118aa9562dd7686257961432784cbf Mon Sep 17 00:00:00 2001 From: Ed Mosqueda Date: Thu, 2 Jan 2025 11:21:28 -0600 Subject: [PATCH] Corrected order of parameters on example (#169) * fix(docs): Corrected order of parameters on example * Fixed the first example (missed it on first push) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d5e243a..d66bfc6 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ formatted_prompt = apply_chat_template( ) # Generate output -output = generate(model, processor, image, formatted_prompt, verbose=False) +output = generate(model, processor, formatted_prompt, image, verbose=False) print(output) ``` @@ -102,7 +102,7 @@ formatted_prompt = apply_chat_template( processor, config, prompt, num_images=len(images) ) -output = generate(model, processor, images, formatted_prompt, verbose=False) +output = generate(model, processor, formatted_prompt, images, verbose=False) print(output) ```