Mansib commited on
Commit
6299cee
·
1 Parent(s): 58a7ea0

Updated metrics

Browse files
Files changed (1) hide show
  1. app.py +7 -10
app.py CHANGED
@@ -52,22 +52,19 @@ theme = gr.themes.Soft(
52
  primary_hue="cyan",
53
  secondary_hue="cyan",
54
  radius_size="lg")
55
- theme.set(input_radius="64px",
56
- button_large_radius='64px',
57
- button_small_radius='64px',
58
- body_background_fill=theme.body_background_fill_dark,
59
- body_text_color=theme.body_text_color_dark,
60
- body_text_color_subdued=theme.body_text_color_subdued_dark,
61
- background_fill_primary=theme.background_fill_primary_dark,
62
- background_fill_secondary=theme.background_fill_secondary_dark
63
- )
64
  attributes = vars(theme)
65
  for attr_name, attr_value in attributes.items():
66
  if isinstance(attr_value, str):
67
- if attr_name.endswith('_dark'):
68
  attr_name_without_suffix = attr_name[:-5]
69
  attributes[attr_name_without_suffix] = attr_value
70
 
 
 
 
 
 
71
  with gr.Interface(
72
  theme=theme,
73
  fn=allure,
 
52
  primary_hue="cyan",
53
  secondary_hue="cyan",
54
  radius_size="lg")
55
+
 
 
 
 
 
 
 
 
56
  attributes = vars(theme)
57
  for attr_name, attr_value in attributes.items():
58
  if isinstance(attr_value, str):
59
+ if attr_name.endswith('_dark') and 'table_row_focus' not in attr_name:
60
  attr_name_without_suffix = attr_name[:-5]
61
  attributes[attr_name_without_suffix] = attr_value
62
 
63
+ theme.set(input_radius="64px",
64
+ button_large_radius='64px',
65
+ button_small_radius='64px'
66
+ )
67
+
68
  with gr.Interface(
69
  theme=theme,
70
  fn=allure,