Mansib commited on
Commit
c0ecb3b
·
1 Parent(s): ba59655

Updated metrics

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -64,8 +64,8 @@ theme = gr.themes.Soft(
64
 
65
  attributes = vars(theme)
66
  for attr_name, attr_value in attributes.items():
67
- if isinstance(attr_name, str):
68
- if attr_name.endswith('_dark') and attr_value is not None:
69
  attr_name_without_suffix = attr_name[:-5]
70
  attributes[attr_name_without_suffix] = attr_value
71
  # if 'radius' in attr_name:
 
64
 
65
  attributes = vars(theme)
66
  for attr_name, attr_value in attributes.items():
67
+ if isinstance(attr_value, str):
68
+ if attr_name.endswith('_dark') and attr_value is not None and ('focus' not in attr_name):
69
  attr_name_without_suffix = attr_name[:-5]
70
  attributes[attr_name_without_suffix] = attr_value
71
  # if 'radius' in attr_name: