Gregor commited on
Commit
795b368
·
verified ·
1 Parent(s): 3106666

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -0
README.md CHANGED
@@ -194,6 +194,8 @@ We natively support multi-image inputs. You only have to 1) include more `<image
194
  [...]
195
  # Variables reused from above.
196
 
 
 
197
  image_multi_1, image_multi_2 = [...] # prepare additional images
198
 
199
  prompt_multi = "What is the difference between the following images?\n<image_placeholder><image_placeholder>\nAnswer in German."
 
194
  [...]
195
  # Variables reused from above.
196
 
197
+ processor.tokenizer.padding_side = "left" # default is 'right' but has to be 'left' for batched generation to work correctly!
198
+
199
  image_multi_1, image_multi_2 = [...] # prepare additional images
200
 
201
  prompt_multi = "What is the difference between the following images?\n<image_placeholder><image_placeholder>\nAnswer in German."