Spaces:
Sleeping
Sleeping
Madhumitha19
commited on
Commit
โข
5fc6e92
1
Parent(s):
fbeb298
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,24 @@ st.title('VibeConnect')
|
|
23 |
emojis = ["๐คฃ","๐ฅฒ","๐ฅน","๐","๐","๐","๐คช","๐คฉ","๐ฅณ","๐ญ","๐ก","๐ฆ","๐ง","๐ฎ","๐ฅด","๐คฎ","๐คง","๐ท"]
|
24 |
|
25 |
# Create a string of emojis to use as the background
|
26 |
-
background_emojis = " ".join(emojis *
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
# Use HTML and CSS to set the background
|
29 |
background_style = f"""
|
@@ -55,7 +72,26 @@ background_style = f"""
|
|
55 |
# Set the HTML as the app's background
|
56 |
st.markdown(background_style, unsafe_allow_html=True)
|
57 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
|
|
|
|
|
59 |
|
60 |
|
61 |
# Text input for the user to enter a sequence
|
|
|
23 |
emojis = ["๐คฃ","๐ฅฒ","๐ฅน","๐","๐","๐","๐คช","๐คฉ","๐ฅณ","๐ญ","๐ก","๐ฆ","๐ง","๐ฎ","๐ฅด","๐คฎ","๐คง","๐ท"]
|
24 |
|
25 |
# Create a string of emojis to use as the background
|
26 |
+
background_emojis = " ".join(emojis * 10) # Repeat the emojis to cover the background
|
27 |
+
|
28 |
+
centered_text = """
|
29 |
+
<style>
|
30 |
+
.center {
|
31 |
+
display: flex;
|
32 |
+
align-items: center;
|
33 |
+
justify-content: center;
|
34 |
+
height: 100vh; /* Adjust height as needed */
|
35 |
+
}
|
36 |
+
</style>
|
37 |
+
<div class="center">
|
38 |
+
<h1>VibeConnect</h1>
|
39 |
+
</div>
|
40 |
+
"""
|
41 |
+
|
42 |
+
# Set the HTML as the app's content
|
43 |
+
st.markdown(centered_text, unsafe_allow_html=True)
|
44 |
|
45 |
# Use HTML and CSS to set the background
|
46 |
background_style = f"""
|
|
|
72 |
# Set the HTML as the app's background
|
73 |
st.markdown(background_style, unsafe_allow_html=True)
|
74 |
|
75 |
+
faded_youtube_logo = """
|
76 |
+
<style>
|
77 |
+
.center {
|
78 |
+
display: flex;
|
79 |
+
align-items: center;
|
80 |
+
justify-content: center;
|
81 |
+
text-align: center;
|
82 |
+
}
|
83 |
+
|
84 |
+
.faded-logo {
|
85 |
+
opacity: 0.5; /* Adjust the opacity as needed */
|
86 |
+
}
|
87 |
+
</style>
|
88 |
+
<div class="center">
|
89 |
+
<img class="faded-logo" src="https://www.google.com/url?sa=i&url=https%3A%2F%2Fturbologo.com%2Farticles%2Fyoutube-logo%2F&psig=AOvVaw1gU5UHyLbw5yrC8oMHTMGv&ust=1701710559816000&source=images&cd=vfe&ved=0CBIQjRxqFwoTCNCDnO7k84IDFQAAAAAdAAAAABAE" alt="YouTube Logo" width="200">
|
90 |
+
</div>
|
91 |
+
"""
|
92 |
|
93 |
+
# Set the HTML as the app's content
|
94 |
+
st.markdown(faded_youtube_logo, unsafe_allow_html=True)
|
95 |
|
96 |
|
97 |
# Text input for the user to enter a sequence
|