mirror of
https://github.com/vladmandic/automatic
synced 2026-09-09 14:28:43 +02:00
sort and describe all scripts
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
+2
-2
@@ -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">  K-Diffusion samplers</a><br>')
|
||||
gr.HTML('<a href="https://github.com/crowsonkb/k-diffusion">  K-Diffusion Samplers</a><br>')
|
||||
with gr.Row():
|
||||
sampler = gr.Dropdown(label="Sampler", choices=self.samplers())
|
||||
return [sampler]
|
||||
|
||||
Reference in New Issue
Block a user