fohy24
commited on
Commit
·
94d6d22
1
Parent(s):
30a5c0f
fixed examples confidence
Browse files
app.py
CHANGED
@@ -76,7 +76,7 @@ gr.Interface(fn=predict,
|
|
76 |
inputs=[gr.Image(type="pil"),
|
77 |
gr.Slider(0, 1, value=0.5, label="Confidence", info="Show predictions that are above this confidence level")],
|
78 |
outputs=gr.Label(),
|
79 |
-
examples=["pastel_yb.png", "piebald.png", "leopard_fire.png"],
|
80 |
title='Ball Python Morph Identifier',
|
81 |
description="Upload or paste an image of your ball python to identify its morphs!"
|
82 |
).launch()
|
|
|
76 |
inputs=[gr.Image(type="pil"),
|
77 |
gr.Slider(0, 1, value=0.5, label="Confidence", info="Show predictions that are above this confidence level")],
|
78 |
outputs=gr.Label(),
|
79 |
+
examples=[["pastel_yb.png", 0.5], ["piebald.png", 0.5], ["leopard_fire.png", 0.5]],
|
80 |
title='Ball Python Morph Identifier',
|
81 |
description="Upload or paste an image of your ball python to identify its morphs!"
|
82 |
).launch()
|