Spaces:
Runtime error
Runtime error
hahahahahahahah3
commited on
Commit
•
22dcacd
1
Parent(s):
f080b9d
Update app.py
Browse files
app.py
CHANGED
@@ -25,8 +25,8 @@ import os
|
|
25 |
import numpy as np
|
26 |
import json
|
27 |
|
28 |
-
|
29 |
-
|
30 |
|
31 |
def get_image_md5(img: Image.Image):
|
32 |
img_byte_array = img.tobytes()
|
|
|
25 |
import numpy as np
|
26 |
import json
|
27 |
|
28 |
+
cache_dir ='~/.cache/huggingface'
|
29 |
+
os.makedirs(cache_dir, exist_ok=True)
|
30 |
|
31 |
def get_image_md5(img: Image.Image):
|
32 |
img_byte_array = img.tobytes()
|