Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,22 +7,16 @@ import time
|
|
7 |
def main():
|
8 |
st.title("Text to Speech Converter 💭")
|
9 |
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
align-items: center;
|
21 |
-
}}
|
22 |
-
</style>
|
23 |
-
<div class="container">
|
24 |
-
"""
|
25 |
-
)
|
26 |
|
27 |
# Text input
|
28 |
text_input = st.text_area("Enter text to convert to speech📝", height=150)
|
|
|
7 |
def main():
|
8 |
st.title("Text to Speech Converter 💭")
|
9 |
|
10 |
+
page_bg_img = '''
|
11 |
+
<style>
|
12 |
+
body {
|
13 |
+
background-image: url("https://www.pixelstalk.net/wp-content/uploads/images6/Marble-Cute-Backgrounds-Blue-Abstract.jpg");
|
14 |
+
background-size: cover;
|
15 |
+
}
|
16 |
+
</style>
|
17 |
+
'''
|
18 |
+
|
19 |
+
st.markdown(page_bg_img, unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
# Text input
|
22 |
text_input = st.text_area("Enter text to convert to speech📝", height=150)
|