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):
self.register()
def title(self):
return 'APG'
return 'APG: Adaptive Projected Guidance'
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://arxiv.org/abs/2410.02416">&nbsp APG: Adaptive projected guidance</a><br>')
gr.HTML('<a href="https://arxiv.org/abs/2410.02416">&nbsp APG: Adaptive Projected Guidance</a><br>')
with gr.Row():
eta = gr.Slider(label="ETA", value=1.0, minimum=0, maximum=2.0, step=0.05)
momentum = gr.Slider(label="Momentum", value=-0.50, minimum=-1.0, maximum=1.0, step=0.05)