self.selection=gr.Dropdown(label="Styles",elem_id=f"{tabname}_styles_edit_select",choices=list(shared.prompt_styles.styles),value=[],allow_custom_value=True,info="Styles allow you to add custom text to prompt. Use the {prompt} token in style text, and it will be replaced with user's prompt when applying style. Otherwise, style's text will be added to the end of the prompt.")
self.materialize=ui_components.ToolButton(value=styles_materialize_symbol,elem_id=f"{tabname}_style_apply",tooltip="Apply all selected styles from the style selction dropdown in main UI to the prompt.")
self.copy=ui_components.ToolButton(value=styles_copy_symbol,elem_id=f"{tabname}_style_copy",tooltip="Copy main UI prompt to style.")