Galuh commited on
Commit
e7539a3
1 Parent(s): 5948cd7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -3
README.md CHANGED
@@ -13,9 +13,7 @@ At time of writing, you will need to install [HuggingFace](https://github.com/hu
13
 
14
  You will also need to have the [`flax_clip_vision_marian` folder](https://github.com/indonesian-nlp/Indonesia-Image-Captioning/tree/main/flax_clip_vision_marian) in your project directory to load the model using the `FlaxCLIPVisionMarianForConditionalGeneration` class.
15
 
16
- Assuming that you have image bytes as input:
17
-
18
- ```
19
  from torchvision.io import ImageReadMode, read_image
20
  from torchvision.transforms import CenterCrop, ConvertImageDtype, Normalize, Resize
21
  from torchvision.transforms.functional import InterpolationMode
 
13
 
14
  You will also need to have the [`flax_clip_vision_marian` folder](https://github.com/indonesian-nlp/Indonesia-Image-Captioning/tree/main/flax_clip_vision_marian) in your project directory to load the model using the `FlaxCLIPVisionMarianForConditionalGeneration` class.
15
 
16
+ ```python
 
 
17
  from torchvision.io import ImageReadMode, read_image
18
  from torchvision.transforms import CenterCrop, ConvertImageDtype, Normalize, Resize
19
  from torchvision.transforms.functional import InterpolationMode