Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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)
|