No interactive outputs
Browse files536 unmodified lines53753853954054154254355 unmodified lines599600601602603604605606536 unmodified lineswith gr.Accordion("Pre-denoising (optional)", open=False):gamma_correction = gr.Slider(label="Gamma Correction", info = "lower=lighter, higher=darker", minimum=0.1, maximum=2.0, value=1.0, step=0.1)denoise_button = gr.Button(value="Pre-denoise")denoise_image = gr.Image(label="Denoised image", show_label=True, type="filepath", sources=[], height=600, elem_id="image-s1")denoise_information = gr.HTML(value="If present, the denoised image will be used for the restoration instead of the input image.", visible=False)with gr.Accordion("Advanced options", open=False):55 unmodified linesreset_btn = gr.Button(value="🧹 Reinit page", variant="stop", elem_id="reset_button", visible = False)restore_information = gr.HTML(value = "Restart the process to get another result.", visible = False)result_slider = ImageSlider(label = 'Comparator', show_label = False, elem_id = "slider1", show_download_button = False)result_gallery = gr.Gallery(label = 'Downloadable results', show_label = True, elem_id = "gallery1")gr.Examples(examples = [536 unmodified lines53753853954054154254355 unmodified lines599600601602603604605606536 unmodified lineswith gr.Accordion("Pre-denoising (optional)", open=False):gamma_correction = gr.Slider(label="Gamma Correction", info = "lower=lighter, higher=darker", minimum=0.1, maximum=2.0, value=1.0, step=0.1)denoise_button = gr.Button(value="Pre-denoise")denoise_image = gr.Image(label="Denoised image", show_label=True, type="filepath", sources=[], interactive = False, height=600, elem_id="image-s1")denoise_information = gr.HTML(value="If present, the denoised image will be used for the restoration instead of the input image.", visible=False)with gr.Accordion("Advanced options", open=False):55 unmodified linesreset_btn = gr.Button(value="🧹 Reinit page", variant="stop", elem_id="reset_button", visible = False)restore_information = gr.HTML(value = "Restart the process to get another result.", visible = False)result_slider = ImageSlider(label = 'Comparator', show_label = False, interactive = False, elem_id = "slider1", show_download_button = False)result_gallery = gr.Gallery(label = 'Downloadable results', show_label = True, interactive = False, elem_id = "gallery1")gr.Examples(examples = [
app.py+3-3