File size: 469 Bytes
fc9d64f
 
da2f55c
fc9d64f
 
 
da2f55c
fc9d64f
da2f55c
 
 
 
 
fc9d64f
 
da2f55c
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import gradio as gr

from app.gui import get_inputs_components, get_outputs_components, get_examples, get_desc
from app.handler import handler


def entry():
    demo = gr.Interface(
            fn          = handler,
            inputs      = get_inputs_components(),
            outputs     = get_outputs_components(),
            examples    = get_examples(),
            description = get_desc(),
        )

    demo.launch()

if __name__ == '__main__':
    entry()