File size: 367 Bytes
ef7c1f6
f745baf
 
cafbdee
 
 
ef7c1f6
f745baf
 
 
 
 
 
ef7c1f6
f745baf
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import gradio as gr
from tabs.arena_sxs import arena_sxs
from tabs.leaderboard import leaderboard
import os

os.system("apt-get install poppler-utils")

# Create the Gradio interface with tabs
with gr.Blocks() as demo:
    with gr.Tab("Parser Arena"):
        arena_sxs()
    with gr.Tab("Leaderboard"):
        leaderboard()

# Launch the app
demo.launch(share=True)