Sina Media Lab commited on
Commit
c7d4159
·
1 Parent(s): 19710ad
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -42,7 +42,7 @@ def generate_pdf_report():
42
  pdf.ln(5)
43
 
44
  # Load the image from the URL, scaled down and centered
45
- pdf.image("assets/gt.png", x=(210 - 25) / 2, w=25, link="https://ghassem.com") # Centered horizontally and scaled down
46
  pdf.ln(10)
47
 
48
  for i, entry in enumerate(st.session_state.questions):
@@ -153,7 +153,7 @@ st.sidebar.markdown(
153
  <div style='background-color: white; padding: 10px; border-radius: 10px; text-align: center; color: black;'>
154
  <h1 style='margin: 0;'>🪄 Magic Math Quiz!<sup>Beta</sup></h1>
155
  <a href="https://ghassem.com" target="_blank">
156
- <img src="https://huggingface.co/spaces/tofighi/math/resolve/main/assets/gt.png" alt="Logo" style="width:50%; margin-top: 10px;">
157
  </a>
158
  </div>
159
  """, unsafe_allow_html=True)
 
42
  pdf.ln(5)
43
 
44
  # Load the image from the URL, scaled down and centered
45
+ pdf.image("assets/gt.png", x=(210 - 10) / 2, w=10, link="https://ghassem.com") # Centered horizontally and scaled down
46
  pdf.ln(10)
47
 
48
  for i, entry in enumerate(st.session_state.questions):
 
153
  <div style='background-color: white; padding: 10px; border-radius: 10px; text-align: center; color: black;'>
154
  <h1 style='margin: 0;'>🪄 Magic Math Quiz!<sup>Beta</sup></h1>
155
  <a href="https://ghassem.com" target="_blank">
156
+ <img src="https://huggingface.co/spaces/tofighi/math/resolve/main/assets/gt.png" alt="Logo" style="width:25%; margin-top: 10px;">
157
  </a>
158
  </div>
159
  """, unsafe_allow_html=True)