ymcmy commited on
Commit
86f48c4
·
verified ·
1 Parent(s): 55a2391

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +3 -3
utils.py CHANGED
@@ -4,7 +4,7 @@ import numpy as np
4
  from datetime import datetime
5
 
6
  def gen_link():
7
- if(np.random.choice([True, False])):
8
  # AMC
9
  np.random.seed()
10
  year = np.random.randint(2015, 2023)
@@ -81,7 +81,7 @@ def gen_html(num):
81
  font-family: Arial, sans-serif;
82
  font-size: 12pt;
83
  }}
84
- .math {{
85
  font-size: 12pt; /* Ensure math font size matches the body text size */
86
  }}
87
  </style>
@@ -91,4 +91,4 @@ def gen_html(num):
91
  </body>
92
  </html>
93
  '''
94
- return all_q
 
4
  from datetime import datetime
5
 
6
  def gen_link():
7
+ if np.random.choice([True, False]):
8
  # AMC
9
  np.random.seed()
10
  year = np.random.randint(2015, 2023)
 
81
  font-family: Arial, sans-serif;
82
  font-size: 12pt;
83
  }}
84
+ img.latex {{
85
  font-size: 12pt; /* Ensure math font size matches the body text size */
86
  }}
87
  </style>
 
91
  </body>
92
  </html>
93
  '''
94
+ return all_q