Skip to content

Commit d2993b5

Browse files
authored
Update settings.py
1 parent c54fcd5 commit d2993b5

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

tabs/settings.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import json
44
import gradio as gr
55
from assets.i18n.i18n import I18nAuto
6-
import assets.themes.loadThemes as loadThemes
76

87
now_dir = os.getcwd()
98
sys.path.append(now_dir)
@@ -77,20 +76,3 @@ def restart_tab():
7776
)
7877

7978

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

Comments
 (0)