Jintonic92 commited on
Commit
8181918
Β·
verified Β·
1 Parent(s): 124c3e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -252,13 +252,14 @@ def format_answer_choice(choice: str) -> str:
252
  return format_latex_expression(choice)
253
 
254
  def display_math_content(content: str, is_question: bool = True):
255
- """μˆ˜ν•™ λ‚΄μš© ν‘œμ‹œ"""
 
 
256
  if is_question:
257
- formatted_content = format_question(content)
258
  else:
259
- formatted_content = format_answer_choice(content)
260
-
261
- return formatted_content
262
 
263
  def main():
264
  """메인 μ• ν”Œλ¦¬μΌ€μ΄μ…˜ 둜직"""
 
252
  return format_latex_expression(choice)
253
 
254
  def display_math_content(content: str, is_question: bool = True):
255
+ """μˆ˜ν•™ λ‚΄μš©(문제 λ˜λŠ” λ‹΅μ•ˆ) ν‘œμ‹œ"""
256
+ formatted_content = format_math_expression(content)
257
+
258
  if is_question:
259
+ st.markdown(formatted_content)
260
  else:
261
+ # μ„ νƒμ§€μ˜ 경우 μΆ”κ°€ ν¬λ§·νŒ… ν•„μš”ν•  수 있음
262
+ return formatted_content
 
263
 
264
  def main():
265
  """메인 μ• ν”Œλ¦¬μΌ€μ΄μ…˜ 둜직"""