prakharg24 commited on
Commit
8f610ee
·
verified ·
1 Parent(s): aa0cdb9

Update my_pages/home.py

Browse files
Files changed (1) hide show
  1. 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
- # button_clicked_dict[page] = st.button(rf"$\large\text{{{text}}}$", 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]:
 
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]: