Vijish commited on
Commit
bdc0c45
1 Parent(s): ffe90f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -42,15 +42,15 @@ urllib.request.urlretrieve(MODEL_URL, "t10T.pkl")
42
  path = Path(".")
43
  learn=load_learner(path, 't10T.pkl')
44
 
45
- urlretrieve("https://www.top5.com/wp-content/uploads/2013/07/worst-celebrity-tattoos-mike-tyson.jpg","soccer1.jpg")
46
- urlretrieve("https://media.okmagazine.com/brand-img/IEPXUdkY7/0x0/2015/06/celebrity-tattoos-16-splash.jpg","soccer2.jpg")
47
- urlretrieve("https://newsmeter.in/wp-content/uploads/2020/06/Ajay-Devgn-Tattoo.jpg","baseball.jpg")
48
- urlretrieve("https://images.ctfassets.net/9l3tjzgyn9gr/photo-101059/c272beb512b949b4ff302aa93fb3164a/101059-angelina-jolie-tattoos.jpg?fm=jpg&fl=progressive&q=50&w=1200","baseball2.jpeg")
49
 
50
- sample_images = [["soccer1.jpg"],
51
- ["soccer2.jpg"],
52
- ["baseball.jpg"],
53
- ["baseball2.jpeg"]]
54
 
55
 
56
  def predict(input):
 
42
  path = Path(".")
43
  learn=load_learner(path, 't10T.pkl')
44
 
45
+ urlretrieve("https://www.top5.com/wp-content/uploads/2013/07/worst-celebrity-tattoos-mike-tyson.jpg","socce1.jpg")
46
+ urlretrieve("https://media.okmagazine.com/brand-img/IEPXUdkY7/0x0/2015/06/celebrity-tattoos-16-splash.jpg","socce2.jpg")
47
+ urlretrieve("https://newsmeter.in/wp-content/uploads/2020/06/Ajay-Devgn-Tattoo.jpg","basebal.jpg")
48
+ urlretrieve("https://images.ctfassets.net/9l3tjzgyn9gr/photo-101059/c272beb512b949b4ff302aa93fb3164a/101059-angelina-jolie-tattoos.jpg?fm=jpg&fl=progressive&q=50&w=1200","baseball.jpeg")
49
 
50
+ sample_images = [["socce1.jpg"],
51
+ ["socce2.jpg"],
52
+ ["basebal.jpg"],
53
+ ["baseball.jpg"]]
54
 
55
 
56
  def predict(input):