Elfsong commited on
Commit
08dccaf
·
1 Parent(s): a3040a9
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from datasets import load_dataset
5
 
6
  st.title("Code Arena")
7
 
8
- if st.query_params["problem"]:
9
  problem_id = st.query_params["problem"]
10
  st.write("Problem Description")
11
 
 
5
 
6
  st.title("Code Arena")
7
 
8
+ if "problem" in st.query_params:
9
  problem_id = st.query_params["problem"]
10
  st.write("Problem Description")
11