Commit
·
6c1d97a
1
Parent(s):
1a24fbc
set the preview as the webp
Browse files
app.py
CHANGED
|
@@ -107,13 +107,13 @@ with gr.Blocks(css=css, title="Background Remover") as background_remover_app:
|
|
| 107 |
with gr.Row():
|
| 108 |
with gr.Column(scale=1):
|
| 109 |
gr.Markdown("### Output With Background Color")
|
| 110 |
-
bg_preview = gr.Image(label="Preview"
|
| 111 |
bg_png = gr.File(label="Download PNG", elem_classes="small-file")
|
| 112 |
bg_jpeg = gr.File(label="Download JPEG", elem_classes="small-file")
|
| 113 |
|
| 114 |
with gr.Column(scale=1):
|
| 115 |
gr.Markdown("### Output With Transparent Background")
|
| 116 |
-
trans_preview = gr.Image(label="Preview"
|
| 117 |
trans_png = gr.File(label="Download PNG", elem_classes="small-file")
|
| 118 |
|
| 119 |
gr.Examples(
|
|
|
|
| 107 |
with gr.Row():
|
| 108 |
with gr.Column(scale=1):
|
| 109 |
gr.Markdown("### Output With Background Color")
|
| 110 |
+
bg_preview = gr.Image(label="Preview")
|
| 111 |
bg_png = gr.File(label="Download PNG", elem_classes="small-file")
|
| 112 |
bg_jpeg = gr.File(label="Download JPEG", elem_classes="small-file")
|
| 113 |
|
| 114 |
with gr.Column(scale=1):
|
| 115 |
gr.Markdown("### Output With Transparent Background")
|
| 116 |
+
trans_preview = gr.Image(label="Preview")
|
| 117 |
trans_png = gr.File(label="Download PNG", elem_classes="small-file")
|
| 118 |
|
| 119 |
gr.Examples(
|