File size: 715 Bytes
0a71821 87248a0 9648ca4 87248a0 ccfe614 87248a0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
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() |