sort and describe all scripts

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2024-11-08 11:32:47 -05:00
parent ba3a32ae47
commit 5de457bb18
28 changed files with 51 additions and 46 deletions
+2 -2
View File
@@ -9,14 +9,14 @@ class Script(scripts.Script):
orig_pipe = None
def title(self):
return 'K-Diffusion'
return 'K-Diffusion Samplers'
def show(self, is_img2img):
return not is_img2img if shared.native else False
def ui(self, _is_img2img): # ui elements
with gr.Row():
gr.HTML('<a href="https://github.com/crowsonkb/k-diffusion">&nbsp K-Diffusion samplers</a><br>')
gr.HTML('<a href="https://github.com/crowsonkb/k-diffusion">&nbsp K-Diffusion Samplers</a><br>')
with gr.Row():
sampler = gr.Dropdown(label="Sampler", choices=self.samplers())
return [sampler]