code: def __post_init__(self):
      self.js_dir = self.js_dir or self.template.lower()
      self.python_file_name = (
          self.python_file_name or f"{self.template.lower()}.py"
      )
  
imports: from __future__ import annotations
  import dataclasses
  import inspect
  import json
  import re
  import shutil
  import textwrap
  from pathlib import Path
  from typing import Literal
  import gradio
label_desc: Use image node_id 1 for calling the ComponentFiles obj's underlying member method code with example usage: obj.__post_init__() without return types