Manith Marapperuma πŸ‘Ύ commited on
Commit
ddf9c28
Β·
1 Parent(s): b9655a1

modified alignments

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -20,10 +20,10 @@ st.set_page_config(
20
 
21
  # Add a title to the app
22
  st.title("🎈 Jokerrr - AI Fun Facts Generator")
23
- col1, col2, col3 = st.columns([1,2,1])
24
  with col2:
25
  st.image("img/batman.png",
26
- width=500)
27
 
28
  # Initialize LLM
29
  @st.cache_resource
@@ -71,13 +71,13 @@ main_container = st.container()
71
 
72
  with main_container:
73
  # Create columns for center alignment
74
- col1, col2, col3 = st.columns([1,3,1])
75
 
76
 
77
 
78
  # Put the button in the middle column
79
  with col2:
80
- st.write("Click the button below to get AI-generated fun facts! πŸŽ‰")
81
 
82
 
83
  if st.button("Generate Fun Fact! 🎲", use_container_width=True):
 
20
 
21
  # Add a title to the app
22
  st.title("🎈 Jokerrr - AI Fun Facts Generator")
23
+ col1, col2, col3 = st.columns([1,12,1])
24
  with col2:
25
  st.image("img/batman.png",
26
+ width=600)
27
 
28
  # Initialize LLM
29
  @st.cache_resource
 
71
 
72
  with main_container:
73
  # Create columns for center alignment
74
+ col1, col2, col3 = st.columns([1,8,1])
75
 
76
 
77
 
78
  # Put the button in the middle column
79
  with col2:
80
+ st.markdown("<h6 style='text-align: center; font-family: Source Sans Pro;'>Click the button below to get AI-generated fun facts! πŸŽ‰</h6>", unsafe_allow_html=True)
81
 
82
 
83
  if st.button("Generate Fun Fact! 🎲", use_container_width=True):