Spaces:
Running
on
Zero
Running
on
Zero
fixed output image degradation
#4
by
prokofyev8
- opened
app.py
CHANGED
|
@@ -378,10 +378,11 @@ with gr.Blocks(css=css) as demo:
|
|
| 378 |
input_images = gr.Gallery(label="Input Images",
|
| 379 |
show_label=False,
|
| 380 |
type="pil",
|
|
|
|
| 381 |
interactive=True)
|
| 382 |
|
| 383 |
with gr.Column():
|
| 384 |
-
result = gr.Gallery(label="Result", show_label=False, type="pil")
|
| 385 |
# Add this button right after the result gallery - initially hidden
|
| 386 |
use_output_btn = gr.Button("↗️ Use as input", variant="secondary", size="sm", visible=False)
|
| 387 |
|
|
|
|
| 378 |
input_images = gr.Gallery(label="Input Images",
|
| 379 |
show_label=False,
|
| 380 |
type="pil",
|
| 381 |
+
format='png',
|
| 382 |
interactive=True)
|
| 383 |
|
| 384 |
with gr.Column():
|
| 385 |
+
result = gr.Gallery(label="Result", show_label=False, type="pil", format='png')
|
| 386 |
# Add this button right after the result gallery - initially hidden
|
| 387 |
use_output_btn = gr.Button("↗️ Use as input", variant="secondary", size="sm", visible=False)
|
| 388 |
|