Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,8 +15,9 @@ professional_theme = gr.themes.Soft(
|
|
| 15 |
|
| 16 |
# Set component radius and spacing
|
| 17 |
radius_size=gr.themes.sizes.radius_md,
|
| 18 |
-
|
| 19 |
-
# ✨
|
|
|
|
| 20 |
|
| 21 |
).set(
|
| 22 |
# --- The .set() method is for colors and styles ---
|
|
@@ -58,3 +59,4 @@ demo = create_ui(visit_count_html, theme=professional_theme)
|
|
| 58 |
# --- Launch the application ---
|
| 59 |
if __name__ == "__main__":
|
| 60 |
demo.launch()
|
|
|
|
|
|
| 15 |
|
| 16 |
# Set component radius and spacing
|
| 17 |
radius_size=gr.themes.sizes.radius_md,
|
| 18 |
+
|
| 19 |
+
# ✨ CORRECTED: Replaced the string "20px" with a valid theme size object
|
| 20 |
+
spacing_size=gr.themes.sizes.spacing_md,
|
| 21 |
|
| 22 |
).set(
|
| 23 |
# --- The .set() method is for colors and styles ---
|
|
|
|
| 59 |
# --- Launch the application ---
|
| 60 |
if __name__ == "__main__":
|
| 61 |
demo.launch()
|
| 62 |
+
|