MCPcopy Create free account
hub / github.com/thygate/stable-diffusion-webui-depthmap-script / ui

Method ui

scripts/depthmap.py:21–27  ·  view source on GitHub ↗
(self, is_img2img)

Source from the content-addressed store, hash-verified

19 return True
20
21 def ui(self, is_img2img):
22 gr.HTML() # Work around a Gradio bug
23 with gr.Column(variant='panel'):
24 gr.HTML() # Work around a Gradio bug
25 ret = common_ui.main_ui_panel(False)
26 ret += ret.enkey_tail()
27 return ret.enkey_body()
28
29 # run from script in txt2img or img2img
30 def run(self, p, *inputs):

Callers

nothing calls this directly

Calls 2

enkey_tailMethod · 0.80
enkey_bodyMethod · 0.80

Tested by

no test coverage detected