Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -254,7 +254,7 @@ def fonc_add_param(lp,txt_input,neg_input,width,height,steps,cfg,seed):
|
|
| 254 |
return gr.Dataset(samples=lp) , gr.Dropdown(choices=[["a",lp]], value=lp)
|
| 255 |
def fonc_del_param(lp,txt_input,neg_input,width,height,steps,cfg,seed):
|
| 256 |
if [txt_input,neg_input,width,height,steps,cfg,seed] in lp :
|
| 257 |
-
lp.
|
| 258 |
return gr.Dataset(samples=lp) , gr.Dropdown(choices=[["a",lp]], value=lp)
|
| 259 |
|
| 260 |
def make_me():
|
|
|
|
| 254 |
return gr.Dataset(samples=lp) , gr.Dropdown(choices=[["a",lp]], value=lp)
|
| 255 |
def fonc_del_param(lp,txt_input,neg_input,width,height,steps,cfg,seed):
|
| 256 |
if [txt_input,neg_input,width,height,steps,cfg,seed] in lp :
|
| 257 |
+
lp.remove([txt_input,neg_input,width,height,steps,cfg,seed])
|
| 258 |
return gr.Dataset(samples=lp) , gr.Dropdown(choices=[["a",lp]], value=lp)
|
| 259 |
|
| 260 |
def make_me():
|