Ashrafb commited on
Commit
c39efdc
·
verified ·
1 Parent(s): 277f417

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +5 -0
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