Skip to content

Commit

Permalink
[docs] fix example code bug (#35054)
Browse files Browse the repository at this point in the history
fix code bug
  • Loading branch information
faaany authored Dec 3, 2024
1 parent 125de41 commit 3deaa81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/en/tasks/image_text_to_text.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ Now let's call the `model_inference` function we created and stream the values.
```python
generator = model_inference(
user_prompt="And what is in this image?",
chat_history=messages,
chat_history=messages[:2],
max_new_tokens=100,
images=images
)
Expand Down

0 comments on commit 3deaa81

Please sign in to comment.