Spaces:
Sleeping
Sleeping
UPDATE app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ 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 = "Glock 9mm Classifier
|
14 |
description = "Model to Predict Glock 9mm Model Type from Images. Based on Resnet 152 using fast.ai."
|
15 |
article="<p style='text-align: center'><a href='https://us.glock.com/en/pistols' target='_blank'>Glock Product Page</a></p>"
|
16 |
examples = ['glock17.jpg','glock19.jpg','glock26.jpg']
|
|
|
10 |
pred,pred_idx,probs = learn.predict(img)
|
11 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
12 |
|
13 |
+
title = "Glock 9mm Classifier"
|
14 |
description = "Model to Predict Glock 9mm Model Type from Images. Based on Resnet 152 using fast.ai."
|
15 |
article="<p style='text-align: center'><a href='https://us.glock.com/en/pistols' target='_blank'>Glock Product Page</a></p>"
|
16 |
examples = ['glock17.jpg','glock19.jpg','glock26.jpg']
|