Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -306,8 +306,8 @@ class UpscalerApp:
|
|
| 306 |
input_image_blind = gr.Image(type="pil", label="Source Image")
|
| 307 |
compare_button = gr.Button("Compare Upscalers")
|
| 308 |
with gr.Row():
|
| 309 |
-
output_image_a = gr.Image(label="Result A", interactive=False)
|
| 310 |
-
output_image_b = gr.Image(label="Result B", interactive=False)
|
| 311 |
with gr.Row():
|
| 312 |
choose_a_button = gr.Button("I prefer Result A", interactive=False)
|
| 313 |
choose_b_button = gr.Button("I prefer Result B", interactive=False)
|
|
@@ -333,11 +333,11 @@ class UpscalerApp:
|
|
| 333 |
gr.Markdown("Select an upscaler model, choose a scaling factor, and process your image.")
|
| 334 |
with gr.Row():
|
| 335 |
with gr.Column(scale=1):
|
| 336 |
-
input_image_playground = gr.Image(type="pil", label="Source Image")
|
| 337 |
upscaler_model_dropdown = gr.Dropdown(choices=list(UPSCALER_DICT_GUI.keys()), label="Upscaler Model")
|
| 338 |
run_button_playground = gr.Button("Run Upscale")
|
| 339 |
with gr.Column(scale=2):
|
| 340 |
-
output_image_playground = gr.Image(label="Upscaled Result", interactive=False)
|
| 341 |
|
| 342 |
run_button_playground.click(
|
| 343 |
fn=gpu_tab2,
|
|
|
|
| 306 |
input_image_blind = gr.Image(type="pil", label="Source Image")
|
| 307 |
compare_button = gr.Button("Compare Upscalers")
|
| 308 |
with gr.Row():
|
| 309 |
+
output_image_a = gr.Image(label="Result A", interactive=False, format="png")
|
| 310 |
+
output_image_b = gr.Image(label="Result B", interactive=False, format="png")
|
| 311 |
with gr.Row():
|
| 312 |
choose_a_button = gr.Button("I prefer Result A", interactive=False)
|
| 313 |
choose_b_button = gr.Button("I prefer Result B", interactive=False)
|
|
|
|
| 333 |
gr.Markdown("Select an upscaler model, choose a scaling factor, and process your image.")
|
| 334 |
with gr.Row():
|
| 335 |
with gr.Column(scale=1):
|
| 336 |
+
input_image_playground = gr.Image(type="pil", label="Source Image", format="png")
|
| 337 |
upscaler_model_dropdown = gr.Dropdown(choices=list(UPSCALER_DICT_GUI.keys()), label="Upscaler Model")
|
| 338 |
run_button_playground = gr.Button("Run Upscale")
|
| 339 |
with gr.Column(scale=2):
|
| 340 |
+
output_image_playground = gr.Image(label="Upscaled Result", interactive=False, format="png")
|
| 341 |
|
| 342 |
run_button_playground.click(
|
| 343 |
fn=gpu_tab2,
|