Emma Scharfmann
add template for challenge
e1ce262
Raw
History Blame Contribute Delete
750 Bytes
"""Entry point – assembles all tabs into one Gradio app."""
import gradio as gr
from config import CHALLENGE_NAME
from tabs.about import build_about_tab
from tabs.registration import build_registration_tab
from tabs.submission import build_submission_tab
from tabs.leaderboard import build_leaderboard_tab
with gr.Blocks(title=CHALLENGE_NAME) as demo:
gr.Markdown(f"# πŸ† {CHALLENGE_NAME}")
with gr.Tabs():
with gr.Tab("About"):
build_about_tab()
with gr.Tab("Registration"):
build_registration_tab()
with gr.Tab("Submission"):
build_submission_tab()
with gr.Tab("Leaderboard"):
build_leaderboard_tab()
if __name__ == "__main__":
demo.launch()