File size: 586 Bytes
3788f63
bcc3eb3
3788f63
293121e
 
bcc3eb3
 
 
8f819dd
 
 
ebf441e
 
 
 
 
 
 
8f819dd
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import streamlit as st
from datasets import load_dataset

st.title("Code Arena")

with st.spinner("Loading data...", show_time=True):
    ds = load_dataset("Elfsong/leetcode_data")

tab_problem, tab_model = st.tabs(["Problems", "Models"])

with tab_problem:
    for problem in range(10):
        with st.container(border=True):
            id_col, title_col, difficulty_col, dp_col = st.columns(4)
            id_col.write(problem)
            title_col.write(problem)
            difficulty_col.write(problem)
            dp_col.write(problem)

with tab_model:
    st.header("Models")