File size: 363 Bytes
101e5d8
 
0a105e7
101e5d8
2bb0b26
 
101e5d8
2bb0b26
101e5d8
2bb0b26
 
 
101e5d8
 
 
2bb0b26
0a105e7
2bb0b26
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# coding=utf-8
# author: xusong <xusong28@jd.com>
# time: 2022/8/23 16:06

"""
https://gradio.app/docs/#tabbedinterface-header

"""

import gradio as gr
from demo_sum import sum_iface
from demo_mlm import mlm_iface



demo = gr.TabbedInterface([sum_iface, mlm_iface], ["商品摘要", "文本填词", "句子纠错"])

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