Spaces:
Sleeping
Sleeping
Commit
·
1ead652
1
Parent(s):
ed207ae
fix bypassing validation possibility
Browse files
app_text_classification.py
CHANGED
|
@@ -223,6 +223,8 @@ def get_demo():
|
|
| 223 |
return gr.update(interactive=False)
|
| 224 |
if model_id == "" or dataset_id == "" or dataset_config == "" or dataset_split == "":
|
| 225 |
return gr.update(interactive=False)
|
|
|
|
|
|
|
| 226 |
return gr.update(interactive=True)
|
| 227 |
|
| 228 |
gr.on(
|
|
|
|
| 223 |
return gr.update(interactive=False)
|
| 224 |
if model_id == "" or dataset_id == "" or dataset_config == "" or dataset_split == "":
|
| 225 |
return gr.update(interactive=False)
|
| 226 |
+
if not column_mapping_accordion.visible:
|
| 227 |
+
return gr.update(interactive=False)
|
| 228 |
return gr.update(interactive=True)
|
| 229 |
|
| 230 |
gr.on(
|