Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -250,7 +250,9 @@ list_ratios=[["None",[None,None]],
|
|
250 |
["1:4 (512 x 2048)",[512,2048]]]
|
251 |
|
252 |
def fonc_add_param(lp,txt_input,neg_input,width,height,steps,cfg,seed):
|
|
|
253 |
lp.append([txt_input,neg_input,width,height,steps,cfg,seed])
|
|
|
254 |
return gr.Dataset(samples=lp) , gr.Dropdown(choices=["a",lp], value=lp)
|
255 |
|
256 |
def make_me():
|
|
|
250 |
["1:4 (512 x 2048)",[512,2048]]]
|
251 |
|
252 |
def fonc_add_param(lp,txt_input,neg_input,width,height,steps,cfg,seed):
|
253 |
+
print(lp)
|
254 |
lp.append([txt_input,neg_input,width,height,steps,cfg,seed])
|
255 |
+
print(lp)
|
256 |
return gr.Dataset(samples=lp) , gr.Dropdown(choices=["a",lp], value=lp)
|
257 |
|
258 |
def make_me():
|