File size: 494 Bytes
09fb9f0
d127695
09fb9f0
d127695
 
 
 
66eaf5f
d127695
 
66eaf5f
 
 
 
d127695
66eaf5f
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import gradio as gr
from gradio_imageslider import ImageSlider

with gr.Blocks() as demo:
    with gr.Row():
        with gr.Column():
            input_image = gr.Image(type="pil", label="Input Image")
            run_button = gr.Button("Upscale")
        with gr.Column():
            result = ImageSlider(
                interactive=False,
                label="Generated Image",
                elem_id="result-image",
                position=0.1,
            )

demo.launch(share=True)