Shreyas Meher commited on
Commit
230b982
·
1 Parent(s): 55c58ce

Add system font fallbacks for HF Spaces compatibility

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1546,7 +1546,7 @@ utd_orange = gr.themes.Color(
1546
  theme = gr.themes.Soft(
1547
  primary_hue=utd_orange,
1548
  secondary_hue="neutral",
1549
- font=gr.themes.GoogleFont("Inter"),
1550
  )
1551
 
1552
  custom_css = """
 
1546
  theme = gr.themes.Soft(
1547
  primary_hue=utd_orange,
1548
  secondary_hue="neutral",
1549
+ font=[gr.themes.GoogleFont("Inter"), "ui-sans-serif", "system-ui", "sans-serif"],
1550
  )
1551
 
1552
  custom_css = """