Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -64,6 +64,11 @@ def add_margin(pil_img, top, right, bottom, left, color):
|
|
64 |
result.paste(pil_img, (left, top))
|
65 |
return result
|
66 |
|
|
|
|
|
|
|
|
|
|
|
67 |
|
68 |
|
69 |
|
|
|
64 |
result.paste(pil_img, (left, top))
|
65 |
return result
|
66 |
|
67 |
+
MODEL_URL = "https://www.dropbox.com/s/04suaimdpru76h3/ArtLine_920.pkl?dl=1 "
|
68 |
+
urllib.request.urlretrieve(MODEL_URL, "ArtLine_920.pkl")
|
69 |
+
path = Path(".")
|
70 |
+
print(os.listdir('.'))
|
71 |
+
learn=load_learner(path, 'ArtLine_920.pkl')
|
72 |
|
73 |
|
74 |
|