"version": 3.48

这个提交包含在:
binary-husky
2023-08-16 13:26:37 +08:00
父节点 96c1852abc
当前提交 8a5e8bc5c1
共有 88 个文件被更改,包括 8087 次插入803 次删除

12
themes/theme.py 普通文件
查看文件

@@ -0,0 +1,12 @@
import gradio as gr
from toolbox import get_conf
THEME, = get_conf('THEME')
if THEME == 'Chuanhu-Small-and-Beautiful':
from .green import adjust_theme, advanced_css
theme_declaration = "<h2 align=\"center\" class=\"small\">[Chuanhu-Small-and-Beautiful主题]</h2>"
else:
from .default import adjust_theme, advanced_css
theme_declaration = ""