Spaces:
Runtime error
Runtime error
main
Browse files
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 |
|