Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -803,14 +803,6 @@ with gr.Blocks(css=css) as demo:
|
|
| 803 |
outputs=ip_adapter_options
|
| 804 |
)
|
| 805 |
|
| 806 |
-
# Удаление фона-----------------------------------------------------------------------------------------------
|
| 807 |
-
# Checkbox для удаления фона
|
| 808 |
-
remove_bg = gr.Checkbox(
|
| 809 |
-
label="Remove Background",
|
| 810 |
-
value=False,
|
| 811 |
-
interactive=True
|
| 812 |
-
)
|
| 813 |
-
|
| 814 |
# LCM_Adapter ------------------------------------------------------------------------------------------------
|
| 815 |
with gr.Blocks():
|
| 816 |
with gr.Row():
|
|
@@ -843,14 +835,16 @@ with gr.Blocks(css=css) as demo:
|
|
| 843 |
value=False,
|
| 844 |
interactive=True
|
| 845 |
)
|
| 846 |
-
# ---------------------------------------------------------------------------------------------------------
|
| 847 |
-
|
| 848 |
-
|
| 849 |
-
|
| 850 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 851 |
|
| 852 |
-
|
| 853 |
-
|
| 854 |
gr.Examples(examples=examples, inputs=[prompt], label="Examples for prompt:")
|
| 855 |
gr.Examples(examples=examples_negative, inputs=[negative_prompt], label="Examples for negative prompt:")
|
| 856 |
|
|
|
|
| 803 |
outputs=ip_adapter_options
|
| 804 |
)
|
| 805 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 806 |
# LCM_Adapter ------------------------------------------------------------------------------------------------
|
| 807 |
with gr.Blocks():
|
| 808 |
with gr.Row():
|
|
|
|
| 835 |
value=False,
|
| 836 |
interactive=True
|
| 837 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 838 |
|
| 839 |
+
# Удаление фона------------------------------------------------------------------------------------------------
|
| 840 |
+
# Checkbox для удаления фона
|
| 841 |
+
remove_bg = gr.Checkbox(
|
| 842 |
+
label="Remove Background",
|
| 843 |
+
value=False,
|
| 844 |
+
interactive=True
|
| 845 |
+
)
|
| 846 |
+
# -------------------------------------------------------------------------------------------------------------
|
| 847 |
|
|
|
|
|
|
|
| 848 |
gr.Examples(examples=examples, inputs=[prompt], label="Examples for prompt:")
|
| 849 |
gr.Examples(examples=examples_negative, inputs=[negative_prompt], label="Examples for negative prompt:")
|
| 850 |
|