Elfsong commited on
Commit
cd8b99e
·
1 Parent(s): 8bc1087
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ if "problem" in st.query_params:
48
  )
49
 
50
  with st.expander("Test Case Generator"):
51
- test_case_generator = json.loads(problem_instance["test_case_generator"])
52
  prompt = "# For now, we only disclose the top 10 lines of the test case generator./n# the full version will be released after the paper review process.\n"
53
  test_case_generator = "\n".join(test_case_generator.split("\n")[:10])
54
  st.code(prompt+test_case_generator)
 
48
  )
49
 
50
  with st.expander("Test Case Generator"):
51
+ test_case_generator = problem_instance["test_case_generator"]
52
  prompt = "# For now, we only disclose the top 10 lines of the test case generator./n# the full version will be released after the paper review process.\n"
53
  test_case_generator = "\n".join(test_case_generator.split("\n")[:10])
54
  st.code(prompt+test_case_generator)