Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -609,7 +609,7 @@ with gr.Blocks( # noqa: SIM117
|
|
609 |
if attr in ["all", "name", "expand"] or attr.startswith("_"):
|
610 |
continue
|
611 |
final_theme_attr = (
|
612 |
-
"
|
613 |
+ "_"
|
614 |
+ (attr[1:] if source_class == gr.themes.Color else attr)
|
615 |
)
|
|
|
609 |
if attr in ["all", "name", "expand"] or attr.startswith("_"):
|
610 |
continue
|
611 |
final_theme_attr = (
|
612 |
+
value_name.split("_")[0]
|
613 |
+ "_"
|
614 |
+ (attr[1:] if source_class == gr.themes.Color else attr)
|
615 |
)
|