Spaces:
Sleeping
Sleeping
Commit
·
95be1af
1
Parent(s):
ed7984d
revert class probability visibility after reset to True
Browse files- app/demo/demo.py +1 -1
app/demo/demo.py
CHANGED
|
@@ -602,7 +602,7 @@ def reset_ui():
|
|
| 602 |
gr.update(value="", visible=False), # top5_html
|
| 603 |
gr.update(value="", visible=False), # confidence_label
|
| 604 |
gr.update(visible=False), # insights_tab
|
| 605 |
-
gr.update(value={}, visible=
|
| 606 |
gr.update(value="Predictions: 0", interactive=False), # prediction_count_box
|
| 607 |
|
| 608 |
# Role/mode controls + states
|
|
|
|
| 602 |
gr.update(value="", visible=False), # top5_html
|
| 603 |
gr.update(value="", visible=False), # confidence_label
|
| 604 |
gr.update(visible=False), # insights_tab
|
| 605 |
+
gr.update(value={}, visible=True), # class_probs_json
|
| 606 |
gr.update(value="Predictions: 0", interactive=False), # prediction_count_box
|
| 607 |
|
| 608 |
# Role/mode controls + states
|