import gradio as gr demo = gr.Blocks() io1 = gr.Interface.load( "spaces/sayakpaul/raindrop-deraining-maxim", examples=[ ["images/Deraining/input/15.png"], ["images/Deraining/input/55.png"], ["images/Deraining/input/1.png"], ["images/Deraining/input/0.jpg"], ], ) io2 = gr.Interface.load( "spaces/sayakpaul/sots-outdoor-dehazing-maxim", examples=[ ["images/Dehazing/input/1444_10.png"], ["images/Dehazing/input/0003_0.8_0.2.png"], ["images/Dehazing/input/0048_0.9_0.2.png"], ["images/Dehazing/input/0010_0.95_0.16.png"], ["images/Dehazing/input/0014_0.8_0.12.png"], ["images/Dehazing/input/1440_10.png"], ], ) io3 = gr.Interface.load( "spaces/sayakpaul/sots-indoor-dehazing-maxim", examples=[ ["images/Dehazing/input/1444_10.png"], ["images/Dehazing/input/0003_0.8_0.2.png"], ["images/Dehazing/input/0048_0.9_0.2.png"], ["images/Dehazing/input/0010_0.95_0.16.png"], ["images/Dehazing/input/0014_0.8_0.12.png"], ["images/Dehazing/input/1440_10.png"], ], ) io4 = gr.Interface.load( "spaces/sayakpaul/fivek-retouching-maxim", examples=[ ["images/Enhancement/input/748.png"], ["images/Enhancement/input/111.png"], ["images/Enhancement/input/a4541-DSC_0040-2.png"], ["images/Enhancement/input/1.png"], ], ) io5 = gr.Interface.load( "spaces/sayakpaul/gopro-deblurring-maxim", examples=[ ["images/Deblurring/input/1fromGOPR1096.MP4.png"], ["images/Deblurring/input/1fromGOPR0950.png"], ["images/Deblurring/input/109fromGOPR1096.MP4.png"], ["images/Deblurring/input/110fromGOPR1087.MP4.png"], ], ) io6 = gr.Interface.load( "spaces/sayakpaul/sidd-denoising-maxim", examples=[ ["images/Denoising/input/0039_04.png"], ["images/Denoising/input/0003_30.png"], ["images/Denoising/input/0011_23.png"], ["images/Denoising/input/0013_19.png"], ], ) io7 = gr.Interface.load( "spaces/sayakpaul/lol-enhancement-maxim", examples=[ ["images/Enhancement/input/748.png"], ["images/Enhancement/input/111.png"], ["images/Enhancement/input/a4541-DSC_0040-2.png"], ["images/Enhancement/input/1.png"], ], ) with demo: gr.TabbedInterface( [io1, io2, io3, io4, io5, io6, io7], [ "Deraining", "Dehazing_Outdoor", "Dehazing_Indoor", "Retouching", "Deblurring", "Denoising", "Enhancement", ], ) demo.launch()