Feat/new UI (#13)
* new custom theme * improve css: scrollbar, header, tabs and buttons * update settings tab * open file index selector by default * update chat control panel * update chat panel * update file index page * cap gradio<=4.22.0 * rename admin page * adjust UI * update flowsettings * auto start in browser * change colour for edit LLM page's button
This commit is contained in:
@@ -36,10 +36,7 @@ class BaseApp:
|
||||
def __init__(self):
|
||||
self.dev_mode = getattr(settings, "KH_MODE", "") == "dev"
|
||||
self.f_user_management = getattr(settings, "KH_FEATURE_USER_MANAGEMENT", False)
|
||||
self._theme = gr.themes.Base(
|
||||
font=("ui-sans-serif", "system-ui", "sans-serif"),
|
||||
font_mono=("ui-monospace", "Consolas", "monospace"),
|
||||
)
|
||||
self._theme = gr.Theme.from_hub("lone17/kotaemon")
|
||||
|
||||
dir_assets = Path(__file__).parent / "assets"
|
||||
with (dir_assets / "css" / "main.css").open() as fi:
|
||||
|
Reference in New Issue
Block a user