heerjtdev commited on
Commit
3453881
·
verified ·
1 Parent(s): ed53a5c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -17
app.py CHANGED
@@ -178,23 +178,23 @@ from pathlib import Path
178
  # WRITE CUSTOM CSS FOR FONTS
179
  # ==============================
180
 
181
- CUSTOM_CSS = """
182
- @font-face {
183
- font-family: 'NotoSansMath';
184
- src: url('./NotoSansMath-Regular.ttf') format('truetype');
185
- font-weight: normal;
186
- font-style: normal;
187
- }
188
-
189
- html, body, * {
190
- font-family: 'NotoSansMath', sans-serif !important;
191
- }
192
- """
193
-
194
- # Optionally write the CSS file if needed (not required for inline css)
195
- if not os.path.exists("custom.css"):
196
- with open("custom.css", "w") as f:
197
- f.write(CUSTOM_CSS)
198
  # ==============================
199
 
200
  try:
 
178
  # WRITE CUSTOM CSS FOR FONTS
179
  # ==============================
180
 
181
+ # CUSTOM_CSS = """
182
+ # @font-face {
183
+ # font-family: 'NotoSansMath';
184
+ # src: url('./NotoSansMath-Regular.ttf') format('truetype');
185
+ # font-weight: normal;
186
+ # font-style: normal;
187
+ # }
188
+
189
+ # html, body, * {
190
+ # font-family: 'NotoSansMath', sans-serif !important;
191
+ # }
192
+ # """
193
+
194
+ # # Optionally write the CSS file if needed (not required for inline css)
195
+ # if not os.path.exists("custom.css"):
196
+ # with open("custom.css", "w") as f:
197
+ # f.write(CUSTOM_CSS)
198
  # ==============================
199
 
200
  try: