deadshot2003 commited on
Commit
e079936
·
verified ·
1 Parent(s): 4951549

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -21
app.py CHANGED
@@ -7,11 +7,11 @@ import random
7
  # Title of the app with custom HTML for color and size
8
  st.markdown(
9
  """
10
- <h1 style='text-align: center; color: pink ; font-size: 48px;'>
11
- A map imperfect but perfect conversations
12
  </h1>
13
  <hr style='border:1px solid lavender'>
14
- <p style='text-align: center; color: lavender; font-size: 18px;'>
15
  Happy Craziversary!!!
16
  </p>
17
  """,
@@ -46,22 +46,11 @@ iframe_html = f'''
46
  components.html(iframe_html, height=500)
47
 
48
  # Function to create alternating rain effect
49
- def alternating_rain():
50
- while True:
51
- # First emoji
52
- rain(
53
- emoji="🤓",
54
- font_size=25,
55
- falling_speed=5,
56
- animation_length="1s",
57
- )
58
- # Second emoji
59
- rain(
60
- emoji="🌺",
61
- font_size=25,
62
- falling_speed=5,
63
- animation_length="1s",
64
- )
65
 
66
- # Call the alternating rain function
67
- alternating_rain()
 
 
 
 
 
 
7
  # Title of the app with custom HTML for color and size
8
  st.markdown(
9
  """
10
+ <h1 style='text-align: center; color: pink ; font-size: 40px;'>
11
+ A map of imperfect but perfect conversations
12
  </h1>
13
  <hr style='border:1px solid lavender'>
14
+ <p style='text-align: center; color: pink; font-size: 18px;'>
15
  Happy Craziversary!!!
16
  </p>
17
  """,
 
46
  components.html(iframe_html, height=500)
47
 
48
  # Function to create alternating rain effect
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
 
50
+ rain(
51
+ emoji="🤓" "🌺",
52
+ font_size=25,
53
+ falling_speed=5,
54
+ animation_length="1s",
55
+ )
56
+