Update ui/events/run_handlers.py
Browse files
ui/events/run_handlers.py
CHANGED
|
@@ -14,9 +14,9 @@ def _show_meta_file(file_path):
|
|
| 14 |
lines = []
|
| 15 |
for k, v in info.items():
|
| 16 |
lines.append(f"{k}: {v}")
|
| 17 |
-
return "\n".join(lines) if lines else "
|
| 18 |
except Exception:
|
| 19 |
-
return "
|
| 20 |
|
| 21 |
def create_run_event(prefix: str, task_type: str, ui_components: dict):
|
| 22 |
run_inputs_map = {
|
|
|
|
| 14 |
lines = []
|
| 15 |
for k, v in info.items():
|
| 16 |
lines.append(f"{k}: {v}")
|
| 17 |
+
return "\n".join(lines) if lines else ""
|
| 18 |
except Exception:
|
| 19 |
+
return ""
|
| 20 |
|
| 21 |
def create_run_event(prefix: str, task_type: str, ui_components: dict):
|
| 22 |
run_inputs_map = {
|