import gradio as gr def fn(): #기능 작성 return with gr.Blocks() as demo: with gr.Row(): img1 = gr.Image() img2 = gr.Image() img3 = gr.Image() with gr.Row(): img4 = gr.Image() out = gr.Image() img5 = gr.Image() with gr.Row(): img6 = gr.Image() img7 = gr.Image() img8 = gr.Image() button = gr.Button() button.click(fn, [img1,img2,img3,img4,img5,img6,img7,img8],out) demo.launch()