Add files via upload

main
EnsignMK 2023-07-15 14:36:50 +02:00 committed by GitHub
parent de2650e4de
commit 4724f6a8c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 5 deletions

View File

@ -3,9 +3,7 @@ from modules import script_callbacks
import gradio as gr
import os
def clean(lst):
y = [x.strip("\n") for x in lst]
return y[-1]
@ -20,9 +18,8 @@ js = """function close_window() {
}
"""
def stop_button(component, **kwargs):
after_this_compo = "setting_{}".format(clean(shared.opts.data["quicksettings"].split(",")))
after_this_compo = "setting_{}".format(shared.opts.data["quicksettings"].replace(" ","").split(",")[-1])
# print(after_this_compo)