We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c54fcd5 commit d2993b5Copy full SHA for d2993b5
tabs/settings.py
@@ -3,7 +3,6 @@
3
import json
4
import gradio as gr
5
from assets.i18n.i18n import I18nAuto
6
-import assets.themes.loadThemes as loadThemes
7
8
now_dir = os.getcwd()
9
sys.path.append(now_dir)
@@ -77,20 +76,3 @@ def restart_tab():
77
76
)
78
79
80
-def theme_tab():
81
- with gr.Row():
82
- with gr.Column():
83
- themes_select = gr.Dropdown(
84
- loadThemes.get_theme_list(),
85
- value=loadThemes.load_theme(),
86
- label=i18n("Theme"),
87
- info=i18n(
88
- "Select the theme you want to use. (Requires restarting App)"
89
- ),
90
- visible=True,
91
- )
92
- themes_select.change(
93
- fn=loadThemes.select_theme,
94
- inputs=themes_select,
95
- outputs=[],
96
0 commit comments