ivmarin commited on
Commit
4a59779
1 Parent(s): cc2de75

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ link = input("Introduce el link de la imagen: ")
2
+ !wget $link -O poke.jpg
3
+ import PIL
4
+ img = PILImage.create('poke.jpg')
5
+ learn_inf = load_learner('export.pkl')
6
+ pred_class,pred_idx,outputs=learn_inf.predict(img)
7
+ print(pred_class)