Spaces:
Runtime error
Runtime error
update title
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def predict(img):
|
|
15 |
pred,pred_idx,probs = learn.predict(img)
|
16 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
17 |
|
18 |
-
title = "
|
19 |
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."
|
20 |
article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
|
21 |
examples = ['scratch.jpg', 'doge.jpg', 'doge_weird.jpg']
|
|
|
15 |
pred,pred_idx,probs = learn.predict(img)
|
16 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
17 |
|
18 |
+
title = "Dog/Cat 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. Thank you to Tanishq Abraham for making this demo."
|
20 |
article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
|
21 |
examples = ['scratch.jpg', 'doge.jpg', 'doge_weird.jpg']
|