R1000 commited on
Commit
5aeb3d7
·
verified ·
1 Parent(s): 5d2396f

Update ui/events/run_handlers.py

Browse files
Files changed (1) hide show
  1. ui/events/run_handlers.py +2 -2
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 = {