MCPcopy Index your code
hub / github.com/vladmandic/sdnext / title

Method title

modules/scripts_manager.py:68–70  ·  view source on GitHub ↗

this function should return the title of the script. This is what will be displayed in the dropdown menu.

(self)

Source from the content-addressed store, hash-verified

66 return f'Script: name="{self.name}" filename="{self.filename}" external={self.external} parent="{self.parent}" args_from={self.args_from} args_to={self.args_to} alwayson={self.alwayson} is_txt2img={self.is_txt2img} is_img2img={self.is_img2img}'
67
68 def title(self):
69 """this function should return the title of the script. This is what will be displayed in the dropdown menu."""
70 raise NotImplementedError
71
72 def ui(self, is_img2img) -> list[IOComponent]:
73 """this function should create gradio UI elements. See https://gradio.app/docs/#components

Callers 15

elem_idMethod · 0.95
add_scriptMethod · 0.45
initialize_scriptsMethod · 0.45
setup_uiMethod · 0.45
runMethod · 0.45
afterMethod · 0.45
before_processMethod · 0.45
processMethod · 0.45
process_imagesMethod · 0.45
before_process_batchMethod · 0.45
process_batchMethod · 0.45
postprocessMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected