def METHOD_NAME(self):
    # The hidden button to trigger a re-render of generated image.
    self.render_button = gr.Button(visible=False, elem_classes=["cnet-render-pose"])
    # The hidden element that stores the pose json for backend retrieval.
    # The front-end javascript will write the edited JSON data to the element.
    self.pose_input = gr.Textbox(visible=False, elem_classes=["cnet-pose-json"])
    self.modal = ModalInterface(
        # Use about:blank here as placeholder so that the iframe does not
        # immediately navigate. Most of controlnet units do not need 
        # openpose editor active. Only navigate when the user first click
        # 'Edit'. The navigation logic is in `openpose_editor.js`.
        f'<iframe src="about:blank"></iframe>',
        open_button_text="Edit",
        open_button_classes=["cnet-edit-pose"],
        open_button_extra_attrs=f'title="Send pose to {OpenposeEditor.editor_url} for edit."',
    ).create_modal(visible=False)
    self.download_link = gr.HTML(
        value="", visible=False, elem_classes=["cnet-download-pose"]
    )