DemiPoto commited on
Commit
4751ba3
·
verified ·
1 Parent(s): be736d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -249,6 +249,10 @@ list_ratios=[["None",[None,None]],
249
  ["5:12 (640 x 1536)",[640,1536]],
250
  ["1:4 (512 x 2048)",[512,2048]]]
251
 
 
 
 
 
252
  def make_me():
253
  with gr.Row():
254
  with gr.Column(scale=4):
@@ -277,10 +281,7 @@ def make_me():
277
  #gen_button = gr.Button('Generate images', scale=3)
278
  #stop_button = gr.Button('Stop', variant='secondary', interactive=False, scale=1)
279
  #gen_button.click(lambda: gr.update(interactive=True), None, stop_button)
280
- def fonc_add_param(param_actu,disp_param):
281
- disp_param.exemples=disp_param.append(param_actu)
282
- return
283
-
284
 
285
  disp_param = gr.Examples(
286
  examples=list_param,
 
249
  ["5:12 (640 x 1536)",[640,1536]],
250
  ["1:4 (512 x 2048)",[512,2048]]]
251
 
252
+ def fonc_add_param(param_actu,disp_param):
253
+ disp_param.exemples=disp_param.append(param_actu)
254
+ return
255
+
256
  def make_me():
257
  with gr.Row():
258
  with gr.Column(scale=4):
 
281
  #gen_button = gr.Button('Generate images', scale=3)
282
  #stop_button = gr.Button('Stop', variant='secondary', interactive=False, scale=1)
283
  #gen_button.click(lambda: gr.update(interactive=True), None, stop_button)
284
+
 
 
 
285
 
286
  disp_param = gr.Examples(
287
  examples=list_param,