Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
258 |
else:
|
259 |
-
|
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 |
"""λ©μΈ μ ν리μΌμ΄μ
λ‘μ§"""
|