Spaces:
Runtime error
Runtime error
Updated style
Browse files
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 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 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',
|