prithivMLmods commited on
Commit
ddb9bbb
Β·
verified Β·
1 Parent(s): eff9c2b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -3
app.py CHANGED
@@ -54,10 +54,15 @@ class Windows98Theme(Base):
54
  neutral_hue: colors.Color | str = colors.win98_gray,
55
  text_size: sizes.Size | str = sizes.text_md,
56
  font: fonts.Font | str | Iterable[fonts.Font | str] = (
57
- "Tahoma", "MS Sans Serif", "Arial", "sans-serif",
 
 
 
58
  ),
59
  font_mono: fonts.Font | str | Iterable[fonts.Font | str] = (
60
- "Courier New", "Fixedsys", "monospace",
 
 
61
  ),
62
  ):
63
  super().__init__(
@@ -535,7 +540,7 @@ footer {
535
 
536
  # ── Gradio Interface ─────────────────────────────────────────────────────
537
 
538
- with gr.Blocks(css=css, theme=windows_98_theme) as demo:
539
  with gr.Column(elem_id="col-container"):
540
  gr.Markdown("# **FireRed-Image-Edit-1.0-Fast**", elem_id="main-title")
541
  gr.Markdown(
@@ -597,6 +602,8 @@ with gr.Blocks(css=css, theme=windows_98_theme) as demo:
597
 
598
  if __name__ == "__main__":
599
  demo.queue(max_size=30).launch(
 
 
600
  mcp_server=True,
601
  ssr_mode=False,
602
  show_error=True
 
54
  neutral_hue: colors.Color | str = colors.win98_gray,
55
  text_size: sizes.Size | str = sizes.text_md,
56
  font: fonts.Font | str | Iterable[fonts.Font | str] = (
57
+ fonts.Font("Tahoma"),
58
+ fonts.Font("MS Sans Serif"),
59
+ fonts.Font("Arial"),
60
+ fonts.Font("sans-serif"),
61
  ),
62
  font_mono: fonts.Font | str | Iterable[fonts.Font | str] = (
63
+ fonts.Font("Courier New"),
64
+ fonts.Font("Fixedsys"),
65
+ fonts.Font("monospace"),
66
  ),
67
  ):
68
  super().__init__(
 
540
 
541
  # ── Gradio Interface ─────────────────────────────────────────────────────
542
 
543
+ with gr.Blocks() as demo:
544
  with gr.Column(elem_id="col-container"):
545
  gr.Markdown("# **FireRed-Image-Edit-1.0-Fast**", elem_id="main-title")
546
  gr.Markdown(
 
602
 
603
  if __name__ == "__main__":
604
  demo.queue(max_size=30).launch(
605
+ css=css,
606
+ theme=windows_98_theme,
607
  mcp_server=True,
608
  ssr_mode=False,
609
  show_error=True