Skip to content

Commit

Permalink
Corrected order of parameters on example (#169)
Browse files Browse the repository at this point in the history
* fix(docs): Corrected order of parameters on example

* Fixed the first example (missed it on first push)
  • Loading branch information
bbaaxx authored Jan 2, 2025
1 parent a11c034 commit 564b8de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
```

Expand Down Expand Up @@ -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)
```

Expand Down

0 comments on commit 564b8de

Please sign in to comment.