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