Andrei Shadrikov commited on
Commit
4fc375b
·
1 Parent(s): 4dff3e2
Files changed (1) hide show
  1. app.py +12 -1
app.py CHANGED
@@ -121,7 +121,18 @@ tabbed_interface = gr.TabbedInterface(
121
  )
122
  '''
123
 
124
- with gr.Blocks(theme=gr.themes.Default(primary_hue=gr.themes.colors.red, secondary_hue=gr.themes.colors.pink)) as tabbed_interface:
 
 
 
 
 
 
 
 
 
 
 
125
  with gr.Tab("В текст"):
126
  with gr.Row():
127
  with gr.Column():
 
121
  )
122
  '''
123
 
124
+ theme = gr.themes.Default(primary_hue="blue").set(
125
+ loader_color="#2AD6B5",
126
+ slider_color="#2AD6B5",
127
+ button_primary_background_fill="#2AD6B5"
128
+ button_primary_text_color="#000000"
129
+ button_primary_background_fill_hover="#20D0B0"
130
+ button_primary_text_color_hover="#000000"
131
+ button_primary_border_color="999999"
132
+ button_primary_border_color_hover="333333"
133
+ )
134
+
135
+ with gr.Blocks(theme=theme) as tabbed_interface:
136
  with gr.Tab("В текст"):
137
  with gr.Row():
138
  with gr.Column():