Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -23,10 +23,7 @@ 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 |
-
|
27 |
-
text_width = len(text) * character_width
|
28 |
-
num_circles = text_width // (circle_diameter * 0.75) # 75% overlap
|
29 |
-
return max(int(num_circles), 3) # Ensure at least 3 circles
|
30 |
|
31 |
def cloud_button(label, key=None, color=None):
|
32 |
button_id = f"cloud-button-{key or label}"
|
|
|
23 |
# Step 2: Load the PDF File
|
24 |
pdf_file_path = "Private_Book/KOMBI_all2.pdf" # Replace with your PDF file path
|
25 |
|
26 |
+
|
|
|
|
|
|
|
27 |
|
28 |
def cloud_button(label, key=None, color=None):
|
29 |
button_id = f"cloud-button-{key or label}"
|