Elfsong commited on
Commit
2e8cfe5
·
1 Parent(s): 13485f6
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -25,8 +25,10 @@ with st.spinner("Loading data...", show_time=True):
25
 
26
 
27
  if "problem" in st.query_params:
28
- problem_id = int(st.query_params["problem"])
29
  problem_instance = problem_dict[problem_id]
 
 
30
 
31
  with st.expander("Problem Description"):
32
  st.markdown(problem_instance["question_content"])
 
25
 
26
 
27
  if "problem" in st.query_params:
28
+ problem_id = str(st.query_params["problem"])
29
  problem_instance = problem_dict[problem_id]
30
+
31
+ st.header(problem_id)
32
 
33
  with st.expander("Problem Description"):
34
  st.markdown(problem_instance["question_content"])