ybelkada commited on
Commit
7f29c37
1 Parent(s): 04e9fc0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -6,6 +6,6 @@ An utility repo to load conveniently fonts using `hf_hub_download`:
6
  from huggingface_hub import hf_hub_download
7
  from PIL import ImageFont
8
 
9
- font_path = hf_hub_download("ybelkada/fonts", "Arial.ttf")
10
  font_obj = ImageFont(font_path, encoding="UTF-8")
11
  ```
 
6
  from huggingface_hub import hf_hub_download
7
  from PIL import ImageFont
8
 
9
+ font_path = hf_hub_download("ybelkada/fonts", "Arial.TTF")
10
  font_obj = ImageFont(font_path, encoding="UTF-8")
11
  ```