Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,16 +29,13 @@ professional_theme = gr.themes.Soft(
|
|
| 29 |
block_radius="16px",
|
| 30 |
block_shadow="0 4px 10px rgba(0, 0, 0, 0.08)",
|
| 31 |
|
| 32 |
-
#
|
| 33 |
-
|
| 34 |
-
# Unselected Tabs
|
| 35 |
button_secondary_background_fill="transparent",
|
| 36 |
button_secondary_background_fill_hover="rgba(0, 0, 0, 0.05)",
|
| 37 |
button_secondary_text_color="#6c757d",
|
| 38 |
button_secondary_text_color_hover="#005f73",
|
| 39 |
-
button_secondary_border_width="0px",
|
| 40 |
-
button_secondary_border_color="transparent",
|
| 41 |
button_secondary_radius="8px",
|
|
|
|
| 42 |
|
| 43 |
# === Primary Button Styling (also applies to selected tabs) ===
|
| 44 |
button_primary_background_fill="#005f73",
|
|
@@ -74,4 +71,3 @@ demo = create_ui(visit_count_html, theme=professional_theme)
|
|
| 74 |
# --- Launch the application ---
|
| 75 |
if __name__ == "__main__":
|
| 76 |
demo.launch()
|
| 77 |
-
|
|
|
|
| 29 |
block_radius="16px",
|
| 30 |
block_shadow="0 4px 10px rgba(0, 0, 0, 0.08)",
|
| 31 |
|
| 32 |
+
# === Unselected Tabs (Secondary Button) Styling ===
|
|
|
|
|
|
|
| 33 |
button_secondary_background_fill="transparent",
|
| 34 |
button_secondary_background_fill_hover="rgba(0, 0, 0, 0.05)",
|
| 35 |
button_secondary_text_color="#6c757d",
|
| 36 |
button_secondary_text_color_hover="#005f73",
|
|
|
|
|
|
|
| 37 |
button_secondary_radius="8px",
|
| 38 |
+
# ✨ CORRECTED: Removed invalid 'border' arguments for secondary buttons
|
| 39 |
|
| 40 |
# === Primary Button Styling (also applies to selected tabs) ===
|
| 41 |
button_primary_background_fill="#005f73",
|
|
|
|
| 71 |
# --- Launch the application ---
|
| 72 |
if __name__ == "__main__":
|
| 73 |
demo.launch()
|
|
|