Spaces:
Runtime error
Runtime error
Josh
commited on
Commit
·
012a29b
1
Parent(s):
7244e49
let's deploy
Browse files- app.py +1 -1
- export.pkl +3 -0
- scratch.jpg +0 -0
app.py
CHANGED
@@ -6,7 +6,7 @@ import skimage
|
|
6 |
title = "Pet Breed Classifier"
|
7 |
description = "A pet breed classifier trained on the Oxford Pets dataset with fastai. Created as a demo for Gradio and HuggingFace Spaces. Thank you to Tanishq Abraham for making this demo."
|
8 |
article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
|
9 |
-
examples = ['
|
10 |
interpretation='default'
|
11 |
enable_queue=True
|
12 |
gr.Interface(fn=predict,inputs=gr.components.Image(shape=(512, 512)),outputs=gr.components.Label(num_top_classes=3),title=title,description=description,article=article,examples=examples,interpretation=interpretation).launch(enable_queue=enable_queue,share=True)
|
|
|
6 |
title = "Pet Breed Classifier"
|
7 |
description = "A pet breed classifier trained on the Oxford Pets dataset with fastai. Created as a demo for Gradio and HuggingFace Spaces. Thank you to Tanishq Abraham for making this demo."
|
8 |
article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
|
9 |
+
examples = ['scratch.jpg']
|
10 |
interpretation='default'
|
11 |
enable_queue=True
|
12 |
gr.Interface(fn=predict,inputs=gr.components.Image(shape=(512, 512)),outputs=gr.components.Label(num_top_classes=3),title=title,description=description,article=article,examples=examples,interpretation=interpretation).launch(enable_queue=enable_queue,share=True)
|
export.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b777e098dc637285d238ca4b7ef4ecceaa8f8eda73c2be75827360fc3e97ed02
|
3 |
+
size 102884637
|
scratch.jpg
ADDED
![]() |