add green theme
This commit is contained in:
10
theme/theme.py
Normal file
10
theme/theme.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import gradio as gr
|
||||
from toolbox import get_conf
|
||||
THEME, = get_conf('THEME')
|
||||
|
||||
if THEME == 'Green':
|
||||
from .green import adjust_theme, advanced_css
|
||||
else:
|
||||
from .default import adjust_theme, advanced_css
|
||||
|
||||
|
||||
Reference in New Issue
Block a user