No interactive outputs
Browse files
app.py
CHANGED
@@ -537,7 +537,7 @@ with gr.Blocks() as interface:
|
|
537 |
with gr.Accordion("Pre-denoising (optional)", open=False):
|
538 |
gamma_correction = gr.Slider(label="Gamma Correction", info = "lower=lighter, higher=darker", minimum=0.1, maximum=2.0, value=1.0, step=0.1)
|
539 |
denoise_button = gr.Button(value="Pre-denoise")
|
540 |
-
denoise_image = gr.Image(label="Denoised image", show_label=True, type="filepath", sources=[], height=600, elem_id="image-s1")
|
541 |
denoise_information = gr.HTML(value="If present, the denoised image will be used for the restoration instead of the input image.", visible=False)
|
542 |
|
543 |
with gr.Accordion("Advanced options", open=False):
|
@@ -599,8 +599,8 @@ with gr.Blocks() as interface:
|
|
599 |
reset_btn = gr.Button(value="🧹 Reinit page", variant="stop", elem_id="reset_button", visible = False)
|
600 |
|
601 |
restore_information = gr.HTML(value = "Restart the process to get another result.", visible = False)
|
602 |
-
result_slider = ImageSlider(label = 'Comparator', show_label = False, elem_id = "slider1", show_download_button = False)
|
603 |
-
result_gallery = gr.Gallery(label = 'Downloadable results', show_label = True, elem_id = "gallery1")
|
604 |
|
605 |
gr.Examples(
|
606 |
examples = [
|
|
|
537 |
with gr.Accordion("Pre-denoising (optional)", open=False):
|
538 |
gamma_correction = gr.Slider(label="Gamma Correction", info = "lower=lighter, higher=darker", minimum=0.1, maximum=2.0, value=1.0, step=0.1)
|
539 |
denoise_button = gr.Button(value="Pre-denoise")
|
540 |
+
denoise_image = gr.Image(label="Denoised image", show_label=True, type="filepath", sources=[], interactive = False, height=600, elem_id="image-s1")
|
541 |
denoise_information = gr.HTML(value="If present, the denoised image will be used for the restoration instead of the input image.", visible=False)
|
542 |
|
543 |
with gr.Accordion("Advanced options", open=False):
|
|
|
599 |
reset_btn = gr.Button(value="🧹 Reinit page", variant="stop", elem_id="reset_button", visible = False)
|
600 |
|
601 |
restore_information = gr.HTML(value = "Restart the process to get another result.", visible = False)
|
602 |
+
result_slider = ImageSlider(label = 'Comparator', show_label = False, interactive = False, elem_id = "slider1", show_download_button = False)
|
603 |
+
result_gallery = gr.Gallery(label = 'Downloadable results', show_label = True, interactive = False, elem_id = "gallery1")
|
604 |
|
605 |
gr.Examples(
|
606 |
examples = [
|