kplug / app.py
xusong28
update
2bb0b26
# 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()