fohy24
commited on
Commit
·
e6445f0
1
Parent(s):
e47bd96
add explanations markdowns
Browse files
app.py
CHANGED
|
@@ -85,13 +85,19 @@ def predict(img, confidence):
|
|
| 85 |
with gr.Blocks(title='Ball Python Morph Identifier') as demo:
|
| 86 |
gr.Markdown("# Ball Python Morph Identifier")
|
| 87 |
gr.Markdown("Upload or paste an image of your ball python to identify its morphs!")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
|
| 89 |
with gr.Accordion("Click here to show all the morphs that can be predicted", open=False):
|
| 90 |
gr.Markdown("""
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
|
| 96 |
with gr.Row():
|
| 97 |
with gr.Column(scale=1):
|
|
|
|
| 85 |
with gr.Blocks(title='Ball Python Morph Identifier') as demo:
|
| 86 |
gr.Markdown("# Ball Python Morph Identifier")
|
| 87 |
gr.Markdown("Upload or paste an image of your ball python to identify its morphs!")
|
| 88 |
+
gr.Markdown("""
|
| 89 |
+
If you're unfamiliar with snakes, ball pythons come in various patterns and colors,
|
| 90 |
+
called *morphs*, which can be difficult to distinguish without expert knowledge.
|
| 91 |
+
This tool automatically identifies these unique variations, making identification accessible to everyone.
|
| 92 |
+
Try selecting one of the examples and click "Identify Morphs" to see how it works!
|
| 93 |
+
""")
|
| 94 |
|
| 95 |
with gr.Accordion("Click here to show all the morphs that can be predicted", open=False):
|
| 96 |
gr.Markdown("""
|
| 97 |
+
Albino, Asphalt, Banana, Black Head, Black Pastel, Butter, Calico, Chocolate, Cinnamon, Clown,
|
| 98 |
+
Desert Ghost, Enchi, Fire, GHI, Gravel, Hypo, Leopard, Lesser, Mojave, Normal,
|
| 99 |
+
Orange Dream, Pastel, Piebald, Pinstripe, Red Stripe, Spider, Spotnose, Super Pastel, Vanilla, Yellow Belly
|
| 100 |
+
""")
|
| 101 |
|
| 102 |
with gr.Row():
|
| 103 |
with gr.Column(scale=1):
|