Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -79,7 +79,7 @@ def create_treemap(treemap_data, count_by, title=None):
|
|
79 |
|
80 |
# --- FINAL FIX: Use CSS to target and fix the specific visual issues ---
|
81 |
custom_css = """
|
82 |
-
/* Target the specific gr.Group containing the slider and add padding
|
83 |
.gradio-group:has(#param-slider-wrapper) {
|
84 |
border: none !important;
|
85 |
background: none !important;
|
@@ -113,7 +113,7 @@ with gr.Blocks(title="🤗 ModelVerse Explorer", fill_width=True, css=custom_css
|
|
113 |
tag_filter_dropdown = gr.Dropdown(label="Select Tag", choices=TAG_FILTER_CHOICES, value=None, visible=False)
|
114 |
pipeline_filter_dropdown = gr.Dropdown(label="Select Pipeline Tag", choices=PIPELINE_TAGS, value=None, visible=False)
|
115 |
|
116 |
-
# This group's styling will be
|
117 |
with gr.Group():
|
118 |
gr.Markdown("<div style='font-weight: 500;'>Model Parameters</div>")
|
119 |
param_range_slider = RangeSlider(
|
|
|
79 |
|
80 |
# --- FINAL FIX: Use CSS to target and fix the specific visual issues ---
|
81 |
custom_css = """
|
82 |
+
/* Target the specific gr.Group containing the slider, remove its background, and add padding */
|
83 |
.gradio-group:has(#param-slider-wrapper) {
|
84 |
border: none !important;
|
85 |
background: none !important;
|
|
|
113 |
tag_filter_dropdown = gr.Dropdown(label="Select Tag", choices=TAG_FILTER_CHOICES, value=None, visible=False)
|
114 |
pipeline_filter_dropdown = gr.Dropdown(label="Select Pipeline Tag", choices=PIPELINE_TAGS, value=None, visible=False)
|
115 |
|
116 |
+
# This group's styling will be modified by the custom CSS
|
117 |
with gr.Group():
|
118 |
gr.Markdown("<div style='font-weight: 500;'>Model Parameters</div>")
|
119 |
param_range_slider = RangeSlider(
|