Spaces:
Running
on
A10G
Running
on
A10G
Linoy Tsaban
commited on
Commit
•
3085850
1
Parent(s):
a9bc524
Update app.py
Browse files
app.py
CHANGED
@@ -345,8 +345,11 @@ with gr.Blocks(css='style.css') as demo:
|
|
345 |
|
346 |
|
347 |
|
348 |
-
|
349 |
-
|
|
|
|
|
|
|
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 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
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 |
|