tahirsher commited on
Commit
56ba772
·
verified ·
1 Parent(s): fed329c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -7,11 +7,11 @@ flower_image_url = "https://i.postimg.cc/hG2FG85D/2.png"
7
  st.markdown(
8
  f"""
9
  <style>
10
- /* General background with flower image positioned to the left */
11
  html, body, [data-testid="stAppViewContainer"] {{
12
  background-image: url("{flower_image_url}");
13
  background-size: contain; /* Keep the image size proportional */
14
- background-position: left center; /* Move image to the left */
15
  background-repeat: no-repeat; /* Prevent tiling */
16
  font-family: 'Arial', sans-serif;
17
  }}
@@ -22,7 +22,7 @@ st.markdown(
22
 
23
  # Streamlit UI elements
24
  st.title("Word Cloud Application")
25
- st.markdown("Welcome to the Word Cloud Application with a beautiful flower background aligned to the left!")
26
 
27
  # Add some interactivity
28
  if st.button("Click Me"):
 
7
  st.markdown(
8
  f"""
9
  <style>
10
+ /* General background with flower image positioned to the extreme left */
11
  html, body, [data-testid="stAppViewContainer"] {{
12
  background-image: url("{flower_image_url}");
13
  background-size: contain; /* Keep the image size proportional */
14
+ background-position: 0 center; /* Move image to the extreme left */
15
  background-repeat: no-repeat; /* Prevent tiling */
16
  font-family: 'Arial', sans-serif;
17
  }}
 
22
 
23
  # Streamlit UI elements
24
  st.title("Word Cloud Application")
25
+ st.markdown("Welcome to the Word Cloud Application with a beautiful flower background aligned to the extreme left!")
26
 
27
  # Add some interactivity
28
  if st.button("Click Me"):