un2266 commited on
Commit
0a5d32e
·
1 Parent(s): 6ac48e6

E4:_CUSTOM_CSS 抽成獨立 assets/app.css

Browse files

原本內嵌在 app_agent.py 裡約 2165 行的 CSS 字串常數,抽成獨立檔案,
改用 app.launch(css_paths=...)(Gradio 6 原生支援,語意與原本
gr.Blocks(css=...) 相同)。app_agent.py 從 6380 行降到 4185 行。

Playwright 驗證:淺色/深色模式畫面與抽出前逐像素一致,console 僅有
既有的 Gradio CDN 預載警告(非本次改動引入)。

Files changed (2) hide show
  1. app_agent.py +0 -0
  2. assets/app.css +0 -0
app_agent.py CHANGED
The diff for this file is too large to render. See raw diff
 
assets/app.css ADDED
The diff for this file is too large to render. See raw diff