Update
Browse files
app.py
CHANGED
@@ -16,7 +16,13 @@ with st.spinner("Loading data...", show_time=True):
|
|
16 |
if "problem" in st.query_params:
|
17 |
problem_id = int(st.query_params["problem"])
|
18 |
st.write(f"Problem Description - [{problem_id}]")
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
else:
|
22 |
with st.spinner("Loading Framework...", show_time=True):
|
|
|
16 |
if "problem" in st.query_params:
|
17 |
problem_id = int(st.query_params["problem"])
|
18 |
st.write(f"Problem Description - [{problem_id}]")
|
19 |
+
problem_instance = problem_dict[problem_id]
|
20 |
+
|
21 |
+
st.markdown(problem_instance["question_content"])
|
22 |
+
|
23 |
+
st.code(problem_instance["test_case_generator"])
|
24 |
+
|
25 |
+
st.write(problem_instance["test_cases"])
|
26 |
|
27 |
else:
|
28 |
with st.spinner("Loading Framework...", show_time=True):
|