hmb HF Staff Claude Opus 4.6 (1M context) commited on
Commit
247b81b
·
1 Parent(s): 6e150ba

Fix font: add sans-serif fallback chain for Inter

Browse files

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -289,7 +289,8 @@ theme = gr.themes.Base(
289
  primary_hue=gr.themes.colors.amber,
290
  secondary_hue=gr.themes.colors.stone,
291
  neutral_hue=gr.themes.colors.stone,
292
- font=gr.themes.GoogleFont("Inter"),
 
293
  ).set(
294
  body_background_fill="#f5f3ee",
295
  block_background_fill="#ffffff",
 
289
  primary_hue=gr.themes.colors.amber,
290
  secondary_hue=gr.themes.colors.stone,
291
  neutral_hue=gr.themes.colors.stone,
292
+ font=[gr.themes.GoogleFont("Inter"), "system-ui", "sans-serif"],
293
+ font_mono=[gr.themes.GoogleFont("JetBrains Mono"), "monospace"],
294
  ).set(
295
  body_background_fill="#f5f3ee",
296
  block_background_fill="#ffffff",