PPP commited on
Commit
97f77af
·
1 Parent(s): ad88758

fix:ssr_mode参数传递

Browse files
Files changed (1) hide show
  1. app.py +6 -7
app.py CHANGED
@@ -1758,14 +1758,7 @@ def build_app() -> gr.Blocks:
1758
 
1759
  with gr.Blocks(
1760
  title="StoryWeaver - 交互式叙事系统",
1761
- ssr_mode=False,
1762
- theme=gr.themes.Soft(
1763
- primary_hue="emerald",
1764
- secondary_hue="blue",
1765
- ),
1766
- css=APP_UI_CSS,
1767
  ) as app:
1768
- app.css = APP_UI_CSS
1769
 
1770
  gr.Markdown(
1771
  """
@@ -2004,4 +1997,10 @@ if __name__ == "__main__":
2004
  share=False,
2005
  show_error=True,
2006
  allowed_paths=[str(IMAGE_DIR)],
 
 
 
 
 
 
2007
  )
 
1758
 
1759
  with gr.Blocks(
1760
  title="StoryWeaver - 交互式叙事系统",
 
 
 
 
 
 
1761
  ) as app:
 
1762
 
1763
  gr.Markdown(
1764
  """
 
1997
  share=False,
1998
  show_error=True,
1999
  allowed_paths=[str(IMAGE_DIR)],
2000
+ ssr_mode=False,
2001
+ theme=gr.themes.Soft(
2002
+ primary_hue="emerald",
2003
+ secondary_hue="blue",
2004
+ ),
2005
+ css=APP_UI_CSS,
2006
  )