Spaces:
Running
Running
ZeroCommand
commited on
Commit
•
0160f4b
1
Parent(s):
104fec1
do not show when dataset has problem
Browse files
text_classification_ui_helpers.py
CHANGED
@@ -133,7 +133,7 @@ def check_model_and_show_prediction(
|
|
133 |
if not isinstance(ds_labels, list) or not isinstance(ds_features, list):
|
134 |
# gr.Warning(CONFIRM_MAPPING_DETAILS_FAIL_RAW)
|
135 |
return (
|
136 |
-
gr.update(
|
137 |
gr.update(visible=False),
|
138 |
gr.update(visible=False, open=False),
|
139 |
*dropdown_placement,
|
|
|
133 |
if not isinstance(ds_labels, list) or not isinstance(ds_features, list):
|
134 |
# gr.Warning(CONFIRM_MAPPING_DETAILS_FAIL_RAW)
|
135 |
return (
|
136 |
+
gr.update(visible=False),
|
137 |
gr.update(visible=False),
|
138 |
gr.update(visible=False, open=False),
|
139 |
*dropdown_placement,
|