mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-02-02 23:23:11 +01:00
Clean up
This commit is contained in:
parent
e94ab5dac1
commit
4a400320dd
@ -515,7 +515,6 @@ def create_interface():
|
|||||||
cmd_list = vars(shared.args)
|
cmd_list = vars(shared.args)
|
||||||
bool_list = [k for k in cmd_list if type(cmd_list[k]) is bool and k not in modes]
|
bool_list = [k for k in cmd_list if type(cmd_list[k]) is bool and k not in modes]
|
||||||
bool_active = [k for k in bool_list if vars(shared.args)[k]]
|
bool_active = [k for k in bool_list if vars(shared.args)[k]]
|
||||||
#int_list = [k for k in cmd_list if type(k) is int]
|
|
||||||
|
|
||||||
gr.Markdown("*Experimental*")
|
gr.Markdown("*Experimental*")
|
||||||
shared.gradio['interface_modes_menu'] = gr.Dropdown(choices=modes, value=current_mode, label="Mode")
|
shared.gradio['interface_modes_menu'] = gr.Dropdown(choices=modes, value=current_mode, label="Mode")
|
||||||
|
Loading…
Reference in New Issue
Block a user