File size: 268 Bytes
8d60634
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import gradio as gr

from model import inverse_pic

demo = gr.Interface(
    inverse_pic,
    gr.Image(show_label=True, label="Input Image"),
    "image",
    title="Image Transposer",
    description="Transpose Image",
)

if __name__ == "__main__":
    demo.launch()