File size: 585 Bytes
5f1da2d
 
5722b62
 
 
 
 
 
 
 
5f1da2d
8d175cc
5722b62
 
 
8d175cc
 
 
 
 
 
5f1da2d
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import gradio as gr

from interfaces.classifier_interface import ClassifierInterface
from interfaces.masked_interface import MaskedInterface
from interfaces.embed_interface import EmbedInterface


class_interface = ClassifierInterface()
masked_interface = MaskedInterface()
embed_interface = EmbedInterface()

demo = gr.TabbedInterface(
    interface_list=[class_interface(),
                    masked_interface(),
                    embed_interface()],
    tab_names=[
    'Multiclass Classification',
    'Masked Language Modeling',
    'Sentence Similarity'
    ]
)

demo.launch()