eggarsway commited on
Commit
527337d
β€’
1 Parent(s): 2c95d21
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -7,6 +7,8 @@ import numpy as np
7
  from PIL import Image, ImageOps, ImageDraw, ImageFont, ImageColor
8
  from urllib.request import urlopen
9
 
 
 
10
  root = os.path.dirname(os.path.abspath(__file__))
11
  static = os.path.join(root, "static")
12
 
 
7
  from PIL import Image, ImageOps, ImageDraw, ImageFont, ImageColor
8
  from urllib.request import urlopen
9
 
10
+ os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
11
+
12
  root = os.path.dirname(os.path.abspath(__file__))
13
  static = os.path.join(root, "static")
14