myownskyW7
commited on
Commit
•
d6af004
1
Parent(s):
284dd56
Update ixc_utils.py
Browse files- ixc_utils.py +1 -1
ixc_utils.py
CHANGED
@@ -9,7 +9,7 @@ import torchvision.transforms as transforms
|
|
9 |
from decord import VideoReader
|
10 |
|
11 |
def get_font():
|
12 |
-
truetype_url = 'https://
|
13 |
ff = urlopen(truetype_url)
|
14 |
font = ImageFont.truetype(ff, size=40)
|
15 |
return font
|
|
|
9 |
from decord import VideoReader
|
10 |
|
11 |
def get_font():
|
12 |
+
truetype_url = 'https://huggingface.co/internlm/internlm-xcomposer2d5-7b/resolve/main/SimHei.ttf?download=true'
|
13 |
ff = urlopen(truetype_url)
|
14 |
font = ImageFont.truetype(ff, size=40)
|
15 |
return font
|