liuyashu002 commited on
Commit
a74f72a
·
1 Parent(s): 31fea02

readme update

Browse files
Files changed (1) hide show
  1. README.md +1 -2
README.md CHANGED
@@ -53,7 +53,7 @@ cont = model.generate(
53
  input_ids,
54
  images=image_tensor,
55
  image_sizes=image_sizes,
56
- modalities=modalities, # Added this line with the modalities
57
  do_sample=True,
58
  num_beams=5,
59
  temperature=0.1,
@@ -64,5 +64,4 @@ cont = model.generate(
64
 
65
  text_outputs = tokenizer.batch_decode(cont, skip_special_tokens=True)
66
 
67
-
68
  ```
 
53
  input_ids,
54
  images=image_tensor,
55
  image_sizes=image_sizes,
56
+ modalities=modalities, # Added this line with the modalities
57
  do_sample=True,
58
  num_beams=5,
59
  temperature=0.1,
 
64
 
65
  text_outputs = tokenizer.batch_decode(cont, skip_special_tokens=True)
66
 
 
67
  ```