File size: 538 Bytes
751936e
 
1b7fc74
 
 
d10ecd7
751936e
1b7fc74
 
f331792
1b7fc74
 
 
9495a4f
751936e
1b7fc74
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

import gradio as gr
from app_playground import demo as tab_playground
from app_compression import demo as tab_compression
from patcher.gr_interface import TabbedInterface


demo = TabbedInterface(
    [tab_playground, tab_compression],
    [" ⚔️ Playground", "🏆 Compression Leaderboard",],  # 编码速度,解码速度,字符分类(zh、num等,支持正则),支持的语言,机构,。
    title='<div align="center">Tokenizer Arena ⚔️</div>',
    css="css/style.css"
)

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