Linoy Tsaban commited on
Commit
3085850
1 Parent(s): a9bc524

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +23 -20
app.py CHANGED
@@ -345,8 +345,11 @@ with gr.Blocks(css='style.css') as demo:
345
 
346
 
347
 
348
-
349
- gr.Markdown(help_text)
 
 
 
350
  plus.click(fn = add_concept, inputs=sega_concepts_counter,
351
  outputs= [row2, row3, plus, sega_concepts_counter], queue = False)
352
 
@@ -421,24 +424,24 @@ with gr.Blocks(css='style.css') as demo:
421
  outputs = [do_inversion], queue = False)
422
 
423
 
424
- # gr.Examples(
425
- # label='Examples',
426
- # examples=get_example(),
427
- # inputs=[input_image, src_prompt, tar_prompt, steps,
428
- # # src_cfg_scale,
429
- # skip,
430
- # tar_cfg_scale,
431
- # edit_concept_1,
432
- # edit_concept_2,
433
- # guidnace_scale_1,
434
- # warmup_1,
435
- # # neg_guidance,
436
- # sega_edited_image
437
- # ],
438
- # outputs=[sega_edited_image],
439
- # # fn=edit,
440
- # # cache_examples=True
441
- # )
442
 
443
 
444
 
 
345
 
346
 
347
 
348
+ with gr.Accordion("Help", open=False):
349
+ gr.Markdown(help_text)
350
+
351
+
352
+
353
  plus.click(fn = add_concept, inputs=sega_concepts_counter,
354
  outputs= [row2, row3, plus, sega_concepts_counter], queue = False)
355
 
 
424
  outputs = [do_inversion], queue = False)
425
 
426
 
427
+ gr.Examples(
428
+ label='Examples',
429
+ examples=get_example(),
430
+ inputs=[input_image, src_prompt, tar_prompt, steps,
431
+ # src_cfg_scale,
432
+ skip,
433
+ tar_cfg_scale,
434
+ edit_concept_1,
435
+ edit_concept_2,
436
+ guidnace_scale_1,
437
+ warmup_1,
438
+ # neg_guidance,
439
+ sega_edited_image
440
+ ],
441
+ outputs=[sega_edited_image],
442
+ # fn=edit,
443
+ # cache_examples=True
444
+ )
445
 
446
 
447