Spaces:
Runtime error
Runtime error
Commit
·
2e17188
1
Parent(s):
a92ea7f
Update app.py
Browse files
app.py
CHANGED
@@ -10,10 +10,10 @@ def predict(img):
|
|
10 |
pred,pred_idx,probs = learn.predict(img)
|
11 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
12 |
|
13 |
-
title = "
|
14 |
-
description = "
|
15 |
article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
|
16 |
-
examples = ['siamese.jpg']
|
17 |
interpretation='default'
|
18 |
enable_queue=True
|
19 |
|
|
|
10 |
pred,pred_idx,probs = learn.predict(img)
|
11 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
12 |
|
13 |
+
title = "Birds Classifier"
|
14 |
+
description = "Upload and classify bird images"
|
15 |
article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
|
16 |
+
#examples = ['siamese.jpg']
|
17 |
interpretation='default'
|
18 |
enable_queue=True
|
19 |
|