Spaces:
Sleeping
Sleeping
ranjith
commited on
Commit
·
66524e4
1
Parent(s):
28e794c
design
Browse files
app.py
CHANGED
@@ -15,6 +15,6 @@ def predict(img):
|
|
15 |
|
16 |
title = "<div style='text-align:center;width:100%;display:flex;flex-direction:column;justify-content:space-evenly'> <div style='color:#ff5a06'> Rock Classifier</div><div style='padding-left:10%;font-size:small'><a href='https://in.linkedin.com/in/amrutha-kp' target='_blank'>Amrutha KP</a></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
|
19 |
|
20 |
gr.Interface(fn=predict, inputs=gr.Image(), outputs=gr.Label(num_top_classes=7),title = title,examples= examples,description=description).launch(share=True)
|
|
|
15 |
|
16 |
title = "<div style='text-align:center;width:100%;display:flex;flex-direction:column;justify-content:space-evenly'> <div style='color:#ff5a06'> Rock Classifier</div><div style='padding-left:10%;font-size:small'><a href='https://in.linkedin.com/in/amrutha-kp' target='_blank'>Amrutha KP</a></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 network - prepared for demonstration purposes . The results may not be accurate since the dataset used for training is very small "
|
19 |
|
20 |
gr.Interface(fn=predict, inputs=gr.Image(), outputs=gr.Label(num_top_classes=7),title = title,examples= examples,description=description).launch(share=True)
|