File size: 461 Bytes
01c4e21
9e4233f
 
85095eb
9e4233f
d57b1dd
9e4233f
cbb886a
01942d8
9e4233f
1aa43b4
9e4233f
cbb886a
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

# Start apps
# from pathlib import Path

import gradio as gr

from app_text_classification import get_demo as get_demo_text_classification
from app_leaderboard import get_demo as get_demo_leaderboard

with gr.Blocks(theme=gr.themes.Soft(primary_hue="green")) as demo:
    with gr.Tab("Text Classification"):
        get_demo_text_classification()
    with gr.Tab("Leaderboard"):
        get_demo_leaderboard()

demo.queue(max_size=100)
demo.launch(share=False)