major requirements refactor

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-07-01 13:12:21 -04:00
parent 4c43c1cc5e
commit 7736382028
18 changed files with 99 additions and 51 deletions
+2
View File
@@ -99,6 +99,8 @@ def reload_gradio_theme():
theme_name = 'black-teal'
elif modules.shared.opts.theme_type == 'Modern':
theme_name = 'Default'
elif modules.shared.opts.theme_type == 'None':
theme_name = 'gradio/default'
else:
modules.shared.opts.theme_type = 'Standard'
theme_name = 'black-teal'