Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ def predict(img):
|
|
11 |
img = PILImage.create(img)
|
12 |
pred,pred_idx,probs = learn.predict(img)
|
13 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
14 |
-
|
15 |
title = "dates Classifier"
|
16 |
description = "A dates classifier trained on the Oxford Pets dataset with fastai. Created as a demo for Gradio and HuggingFace Spaces."
|
17 |
article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
|
|
|
11 |
img = PILImage.create(img)
|
12 |
pred,pred_idx,probs = learn.predict(img)
|
13 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
14 |
+
#ih
|
15 |
title = "dates Classifier"
|
16 |
description = "A dates classifier trained on the Oxford Pets dataset with fastai. Created as a demo for Gradio and HuggingFace Spaces."
|
17 |
article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
|