Anne31415 commited on
Commit
32f1f35
·
1 Parent(s): 2ff71b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,10 +23,10 @@ repo.git_pull() # Pull the latest changes (if any)
23
  # Step 2: Load the PDF File
24
  pdf_file_path = "Private_Book/KOMBI_all2.pdf" # Replace with your PDF file path
25
 
26
- def cloud_button(label, key=None, color=None, overlap=20):
27
  button_id = f"cloud-button-{key or label}"
28
  color_class = f"color-{color}" if color else ""
29
- num_circles = max(3, min(12, len(label) // 4))
30
  circle_size = 60
31
 
32
  # Create circles with text enclosed
 
23
  # Step 2: Load the PDF File
24
  pdf_file_path = "Private_Book/KOMBI_all2.pdf" # Replace with your PDF file path
25
 
26
+ def cloud_button(label, key=None, color=None, overlap=30):
27
  button_id = f"cloud-button-{key or label}"
28
  color_class = f"color-{color}" if color else ""
29
+ num_circles = max(3, min(12, (len(label) + overlap) // 4))
30
  circle_size = 60
31
 
32
  # Create circles with text enclosed