Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ import os
|
|
16 |
def cloud_button(label, key=None, color=None, overlap=30):
|
17 |
button_id = f"cloud-button-{key or label}"
|
18 |
color_class = f"color-{color}" if color else ""
|
19 |
-
num_circles = max(3, min(
|
20 |
circle_size = 60
|
21 |
|
22 |
# Create circles with text enclosed
|
|
|
16 |
def cloud_button(label, key=None, color=None, overlap=30):
|
17 |
button_id = f"cloud-button-{key or label}"
|
18 |
color_class = f"color-{color}" if color else ""
|
19 |
+
num_circles = max(3, min(35, len(label) // 4))
|
20 |
circle_size = 60
|
21 |
|
22 |
# Create circles with text enclosed
|