Spaces:
Sleeping
Sleeping
ranjith
commited on
Commit
·
6cc1925
1
Parent(s):
f039e05
design
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def predict(img):
|
|
13 |
pred,pred_idx,probs = learn.predict(img)
|
14 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
15 |
|
16 |
-
title = "<div style='text-align:center;width:100%;display:flex';
|
17 |
examples = ["basalt.jpeg","coal.jpeg","granite.jpeg", "limestone1.jpg","marble1.jpeg","quartzite.jpeg","sandstone4.jpeg"]
|
18 |
description = "Rock classification using convolutional neural networks results may not be accurate since trained on small dataset"
|
19 |
article="<p style='text-align: center'><a href='https://in.linkedin.com/in/amrutha-kp' target='_blank'>Linkedin</a></p>"
|
|
|
13 |
pred,pred_idx,probs = learn.predict(img)
|
14 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
15 |
|
16 |
+
title = "<div style='text-align:center;width:100%;display:flex';flex-direction:row;justify-content:space-evenly> <div>Rock classifier</div></div>"
|
17 |
examples = ["basalt.jpeg","coal.jpeg","granite.jpeg", "limestone1.jpg","marble1.jpeg","quartzite.jpeg","sandstone4.jpeg"]
|
18 |
description = "Rock classification using convolutional neural networks results may not be accurate since trained on small dataset"
|
19 |
article="<p style='text-align: center'><a href='https://in.linkedin.com/in/amrutha-kp' target='_blank'>Linkedin</a></p>"
|