Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -272,17 +272,17 @@ def main():
|
|
272 |
# 보기 표시
|
273 |
col1, col2 = st.columns(2)
|
274 |
with col1:
|
275 |
-
if st.button(
|
276 |
handle_answer('A', current_q)
|
277 |
st.rerun()
|
278 |
-
if st.button(
|
279 |
handle_answer('C', current_q)
|
280 |
st.rerun()
|
281 |
with col2:
|
282 |
-
if st.button(
|
283 |
handle_answer('B', current_q)
|
284 |
st.rerun()
|
285 |
-
if st.button(
|
286 |
handle_answer('D', current_q)
|
287 |
st.rerun()
|
288 |
# 복습 화면
|
|
|
272 |
# 보기 표시
|
273 |
col1, col2 = st.columns(2)
|
274 |
with col1:
|
275 |
+
if if st.button(latex_formatter.format_expression(f"A) {current_q['AnswerAText']}"), key="A"):
|
276 |
handle_answer('A', current_q)
|
277 |
st.rerun()
|
278 |
+
if st.button(latex_formatter.format_expression(f"C) {current_q['AnswerAText']}"), key="C"):
|
279 |
handle_answer('C', current_q)
|
280 |
st.rerun()
|
281 |
with col2:
|
282 |
+
if st.button(latex_formatter.format_expression(f"B) {current_q['AnswerAText']}"), key="B"):
|
283 |
handle_answer('B', current_q)
|
284 |
st.rerun()
|
285 |
+
if st.button(latex_formatter.format_expression(f"D) {current_q['AnswerAText']}"), key="D"):
|
286 |
handle_answer('D', current_q)
|
287 |
st.rerun()
|
288 |
# 복습 화면
|