Spaces:
Sleeping
Sleeping
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) |