Spaces:
Runtime error
Runtime error
File size: 460 Bytes
ef7c1f6 f745baf cafbdee f0279d9 cafbdee 36fe387 ef7c1f6 f745baf ef7c1f6 f745baf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
import gradio as gr
from tabs.arena_sxs import arena_sxs
from tabs.leaderboard import leaderboard
import os
import nltk
nltk.download('averaged_perceptron_tagger')
os.system("apt-get update && apt-get install -y poppler-utils tesseract-ocr")
# 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) |