Anne31415 commited on
Commit
9ee5054
·
1 Parent(s): 744d5b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -32,8 +32,9 @@ def cloud_button(label, key=None, color=None):
32
 
33
  # Create circles with text enclosed
34
  circles_html = ''.join([
35
- f'<div class="circle {color_class}"><div class="circle-text">{label}</div></div>' for _ in range(num_circles)
36
  ])
 
37
 
38
  cloud_button_html = f"""
39
  <div class="cloud" id="{button_id}" style="margin-bottom: 20px;">
@@ -88,6 +89,7 @@ cloud_button("This is a longer piece of text", color="2")
88
  cloud_button("This is an even longer piece of text to test the cloud button", color="3")
89
 
90
 
 
91
  def load_pdf(file_path):
92
  pdf_reader = PdfReader(file_path)
93
  text = ""
 
32
 
33
  # Create circles with text enclosed
34
  circles_html = ''.join([
35
+ f'<div class="circle {color_class}"></div>' for _ in range(num_circles)
36
  ])
37
+ circles_html += f'<div class="circle-text">{label}</div>' # Add the text after the circles
38
 
39
  cloud_button_html = f"""
40
  <div class="cloud" id="{button_id}" style="margin-bottom: 20px;">
 
89
  cloud_button("This is an even longer piece of text to test the cloud button", color="3")
90
 
91
 
92
+
93
  def load_pdf(file_path):
94
  pdf_reader = PdfReader(file_path)
95
  text = ""