Mansib commited on
Commit
83cdad8
·
1 Parent(s): 525b72d

Updated style

Browse files
Files changed (1) hide show
  1. app.py +7 -8
app.py CHANGED
@@ -65,14 +65,13 @@ theme = gr.themes.Soft(
65
  secondary_hue="cyan",
66
  radius_size="lg")
67
 
68
- attributes = vars(theme)
69
- for attr_name, attr_value in attributes.items():
70
- if isinstance(attr_name, str):
71
- if attr_name.endswith('_dark') and attr_value is not None:
72
- attr_name_without_suffix = attr_name[:-5]
73
- attributes[attr_name_without_suffix] = attr_value
74
- # if 'radius' in attr_name:
75
- # attributes[attr_name] = '64px'
76
  theme.set(
77
  input_radius="64px",
78
  button_large_radius='64px',
 
65
  secondary_hue="cyan",
66
  radius_size="lg")
67
 
68
+ # attributes = vars(theme)
69
+ # for attr_name, attr_value in attributes.items():
70
+ # if isinstance(attr_name, str):
71
+ # if attr_name.endswith('_dark') and attr_value is not None:
72
+ # attr_name_without_suffix = attr_name[:-5]
73
+ # attributes[attr_name_without_suffix] = attr_value
74
+
 
75
  theme.set(
76
  input_radius="64px",
77
  button_large_radius='64px',