atlas5301
fix tab
9648ca4
raw
history blame contribute delete
715 Bytes
import streamlit as st
st.set_page_config(
page_title="Benchmark Leaderboard",
layout="wide",
page_icon="πŸ“Š",
initial_sidebar_state="collapsed" # collapses sidebar by default
)
def main():
# Create tabs at the top of the page
tabs = st.tabs(["Long Context Leaderboard", "Zero Noise Leaderboard", "Benchmark Viewer"])
# Each "with" block corresponds to a content area for that tab.
with tabs[0]:
from pages import long_context
long_context.show()
with tabs[1]:
from pages import zero_noise
zero_noise.show()
with tabs[2]:
from pages import benchmark_viewer
benchmark_viewer.show()
if __name__ == "__main__":
main()