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
@@ -46,14 +46,14 @@ text_encoder_path = None
class Script(scripts.Script):
def title(self):
return 'MuLan'
return 'MuLan: Multi Language Prompts'
def show(self, is_img2img):
return True if shared.native else False
def ui(self, _is_img2img):
with gr.Row():
gr.HTML('<a href="https://github.com/mulanai/MuLan">&nbsp MuLan</a><br>')
gr.HTML('<a href="https://github.com/mulanai/MuLan">&nbsp MuLan: Multi Language Prompts</a><br>')
with gr.Row():
selected_encoder = gr.Dropdown(label='Encoder', choices=ENCODERS, value=ENCODERS[0])
return [selected_encoder]