Update my_pages/home.py
Browse files- my_pages/home.py +3 -3
my_pages/home.py
CHANGED
|
@@ -60,9 +60,9 @@ def render():
|
|
| 60 |
# string_to_add =
|
| 61 |
|
| 62 |
# Join with LaTeX line breaks
|
| 63 |
-
latex_content = r"$\small" + r"\\".join([rf"\text{{{line}}}" for line in text]) + r"$"
|
| 64 |
-
|
| 65 |
-
button_clicked_dict[page] = st.button(latex_content, type="primary")
|
| 66 |
|
| 67 |
for page in button_clicked_dict:
|
| 68 |
if button_clicked_dict[page]:
|
|
|
|
| 60 |
# string_to_add =
|
| 61 |
|
| 62 |
# Join with LaTeX line breaks
|
| 63 |
+
# latex_content = r"$\small" + r"\\".join([rf"\text{{{line}}}" for line in text]) + r"$"
|
| 64 |
+
button_clicked_dict[page] = st.button(rf"$\small\text{{{text[0]}}}$", type="primary")
|
| 65 |
+
# button_clicked_dict[page] = st.button(latex_content, type="primary")
|
| 66 |
|
| 67 |
for page in button_clicked_dict:
|
| 68 |
if button_clicked_dict[page]:
|