Elfsong commited on
Commit
2a013e3
·
verified ·
1 Parent(s): 00cb9ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -91,6 +91,7 @@ tab1, tab2, tab3, tab4 = st.tabs(["Problem Description", "Canonical Solution", "
91
 
92
  with tab1:
93
  st.html(example['content'])
 
94
  with tab2:
95
  solutions_displayed = 0
96
  canonical_solutions = list()
@@ -102,6 +103,7 @@ with tab2:
102
  solutions_displayed += 1
103
  if solutions_displayed >= 3:
104
  break
 
105
  with tab3:
106
  prompt = case_generation.format(problem_description=example['content'], canonical_solution=canonical_solutions[0], lang=language)
107
  st.html(prompt)
 
91
 
92
  with tab1:
93
  st.html(example['content'])
94
+
95
  with tab2:
96
  solutions_displayed = 0
97
  canonical_solutions = list()
 
103
  solutions_displayed += 1
104
  if solutions_displayed >= 3:
105
  break
106
+
107
  with tab3:
108
  prompt = case_generation.format(problem_description=example['content'], canonical_solution=canonical_solutions[0], lang=language)
109
  st.html(prompt)