Spaces:
Sleeping
Sleeping
File size: 972 Bytes
10e4cb6 34a4f65 39d184b 34a4f65 72d0e7a 34a4f65 72d0e7a 34a4f65 5e0383e 34a4f65 5e0383e 34a4f65 72d0e7a 1af4b74 34a4f65 10e4cb6 72d0e7a 10e4cb6 72d0e7a 10e4cb6 72d0e7a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
import streamlit as st
# Replace with the direct image URL
flower_image_url = "https://i.postimg.cc/JzJ4tFN1/1.png"
# Inject custom CSS for the background with the provided flower image
st.markdown(
f"""
<style>
/* General background with flower image */
html, body, [data-testid="stAppViewContainer"] {{
background-image: url("{flower_image_url}");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
font-family: 'Arial', sans-serif;
}}
</style>
""",
unsafe_allow_html=True
)
# Streamlit UI elements
st.title("Word Cloud Application")
st.markdown("Welcome to the Word Cloud Application with a beautiful flower background!")
# Add some interactivity
if st.button("Click Me"):
st.write("You clicked the button!")
# Add a select box
option = st.selectbox(
"Choose an option:",
["Option 1", "Option 2", "Option 3"]
)
st.write(f"You selected: {option}")
|