Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -262,4 +262,12 @@ with block:
|
|
| 262 |
data_run.click(on_filter_model_size_method_change, inputs=[checkbox_group], outputs=data_component)
|
| 263 |
result_download.click(download_csv, inputs=None, outputs=[file_download, file_download])
|
| 264 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 265 |
block.launch()
|
|
|
|
| 262 |
data_run.click(on_filter_model_size_method_change, inputs=[checkbox_group], outputs=data_component)
|
| 263 |
result_download.click(download_csv, inputs=None, outputs=[file_download, file_download])
|
| 264 |
|
| 265 |
+
for c in demo.get_blocks().blocks:
|
| 266 |
+
try:
|
| 267 |
+
cfg = c.get_config()
|
| 268 |
+
if isinstance(cfg, bool):
|
| 269 |
+
print(f"⚠️ Found boolean config in component: {c}")
|
| 270 |
+
except Exception as e:
|
| 271 |
+
print(f"Error inspecting {c}: {e}")
|
| 272 |
+
|
| 273 |
block.launch()
|