rohanphadke commited on
Commit
ce2be03
·
1 Parent(s): c64ec21

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,4 +1,5 @@
1
  from gradio import Interface
 
2
  from gradio.components import Image, Label
3
  from fastai.vision.all import *
4
  import skimage
@@ -17,5 +18,5 @@ def predict(img):
17
  title = "Pet Breed Classifier"
18
  description = "A pet breed classifier trained on the Oxford Pets dataset with fastai. Created as a demo for Gradio and HuggingFace Spaces."
19
 
20
- iface = Interface(fn=predict, inputs=Image(shape=(512, 512)), outputs=Label(num_top_classes=3), title=title, description=description).launch()
21
-
 
1
  from gradio import Interface
2
+ print(Interface)
3
  from gradio.components import Image, Label
4
  from fastai.vision.all import *
5
  import skimage
 
18
  title = "Pet Breed Classifier"
19
  description = "A pet breed classifier trained on the Oxford Pets dataset with fastai. Created as a demo for Gradio and HuggingFace Spaces."
20
 
21
+ iface = Interface(fn=predict, inputs=Image(shape=(512, 512)), outputs=Label(num_top_classes=3), title=title, description=description)
22
+ iface.launch()