Update
Browse files
app.py
CHANGED
|
@@ -8,6 +8,8 @@ st.title("Code Arena")
|
|
| 8 |
if "problem" in st.query_params:
|
| 9 |
problem_id = st.query_params["problem"]
|
| 10 |
st.write(f"Problem Description - [{problem_id}]")
|
|
|
|
|
|
|
| 11 |
|
| 12 |
else:
|
| 13 |
with st.spinner("Loading data...", show_time=True):
|
|
|
|
| 8 |
if "problem" in st.query_params:
|
| 9 |
problem_id = st.query_params["problem"]
|
| 10 |
st.write(f"Problem Description - [{problem_id}]")
|
| 11 |
+
with st.spinner("Loading data...", show_time=True):
|
| 12 |
+
ds = load_dataset("Elfsong/leetcode_data", split='train')
|
| 13 |
|
| 14 |
else:
|
| 15 |
with st.spinner("Loading data...", show_time=True):
|