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

fix:ssr_mode参数传递

Browse files
Files changed (3) hide show
  1. .claude/settings.local.json +4 -1
  2. README.md +1 -0
  3. app.py +5 -5
.claude/settings.local.json CHANGED
@@ -2,7 +2,10 @@
2
  "permissions": {
3
  "allow": [
4
  "Bash(gh run:*)",
5
- "Bash(pip install:*)"
 
 
 
6
  ]
7
  }
8
  }
 
2
  "permissions": {
3
  "allow": [
4
  "Bash(gh run:*)",
5
+ "Bash(pip install:*)",
6
+ "Bash(git lfs:*)",
7
+ "Bash(python:*)",
8
+ "Bash(dir image:*)"
9
  ]
10
  }
11
  }
README.md CHANGED
@@ -6,6 +6,7 @@ colorTo: purple
6
  sdk: gradio
7
  sdk_version: 6.7.0
8
  app_file: app.py
 
9
  pinned: false
10
  license: mit
11
  short_description: Interactive NLP story engine with evaluation and logging
 
6
  sdk: gradio
7
  sdk_version: 6.7.0
8
  app_file: app.py
9
+ python_version: "3.10"
10
  pinned: false
11
  license: mit
12
  short_description: Interactive NLP story engine with evaluation and logging
app.py CHANGED
@@ -1759,6 +1759,11 @@ def build_app() -> gr.Blocks:
1759
  with gr.Blocks(
1760
  title="StoryWeaver - 交互式叙事系统",
1761
  ssr_mode=False,
 
 
 
 
 
1762
  ) as app:
1763
  app.css = APP_UI_CSS
1764
 
@@ -1999,9 +2004,4 @@ if __name__ == "__main__":
1999
  share=False,
2000
  show_error=True,
2001
  allowed_paths=[str(IMAGE_DIR)],
2002
- theme=gr.themes.Soft(
2003
- primary_hue="emerald",
2004
- secondary_hue="blue",
2005
- ),
2006
- css=APP_UI_CSS,
2007
  )
 
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
 
 
2004
  share=False,
2005
  show_error=True,
2006
  allowed_paths=[str(IMAGE_DIR)],
 
 
 
 
 
2007
  )