File size: 733 Bytes
f1e1ac2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import gradio as gr

from components.about import create_about
from components.detail import create_detail
from components.submit import create_submit
from components.top import create_top
from components.data import create_data
from components.result import create_result

with gr.Blocks(title="Ango Leaderboard") as app:
    top_components = create_top()
    with gr.Tab("Result"):
        create_result(top_components)
    with gr.Tab("Details"):
        create_detail(top_components)
    with gr.Tab("Data"):
        create_data(top_components)
    with gr.Tab("Submit"):
        create_submit()
    with gr.Tab("About"):
        create_about()

app.queue()
app.launch(server_name="127.0.0.1", server_port=8080, ssl_verify=False)