Upscaler / app.py
OzzyGT's picture
OzzyGT HF staff
add demo launch
66eaf5f
raw
history blame
494 Bytes
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)