Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -35,9 +35,9 @@ def cloud_button(label, key=None, color=None):
|
|
35 |
|
36 |
# Generate circles on both sides of the text
|
37 |
circles_html = ''.join([
|
38 |
-
f'<div class="circle" style="margin-right: -
|
39 |
] + [
|
40 |
-
f'<div class="circle" style="margin-left: -
|
41 |
])
|
42 |
|
43 |
cloud_button_html = f"""
|
@@ -71,8 +71,8 @@ def cloud_button(label, key=None, color=None):
|
|
71 |
.circle {{
|
72 |
background-color: inherit;
|
73 |
border-radius: 50%;
|
74 |
-
width:
|
75 |
-
height:
|
76 |
position: relative;
|
77 |
z-index: 1;
|
78 |
}}
|
@@ -97,6 +97,7 @@ def cloud_button(label, key=None, color=None):
|
|
97 |
|
98 |
|
99 |
|
|
|
100 |
def load_pdf(file_path):
|
101 |
pdf_reader = PdfReader(file_path)
|
102 |
text = ""
|
|
|
35 |
|
36 |
# Generate circles on both sides of the text
|
37 |
circles_html = ''.join([
|
38 |
+
f'<div class="circle" style="margin-right: -20px;"></div>' for _ in range(num_circles//2)
|
39 |
] + [
|
40 |
+
f'<div class="circle" style="margin-left: -20px;"></div>' for _ in range(num_circles//2)
|
41 |
])
|
42 |
|
43 |
cloud_button_html = f"""
|
|
|
71 |
.circle {{
|
72 |
background-color: inherit;
|
73 |
border-radius: 50%;
|
74 |
+
width: 40px; # Increased size
|
75 |
+
height: 40px; # Increased size
|
76 |
position: relative;
|
77 |
z-index: 1;
|
78 |
}}
|
|
|
97 |
|
98 |
|
99 |
|
100 |
+
|
101 |
def load_pdf(file_path):
|
102 |
pdf_reader = PdfReader(file_path)
|
103 |
text = ""
|