Quote-Generator / app.py
SabaAnver's picture
Update app.py
da7818a verified
raw
history blame contribute delete
553 Bytes
import streamlit as st
import random
st.title("✨ Simple Quote Generator")
st.write("Click the button to get an inspiring quote!")
quotes = [
"The best way to get started is to quit talking and begin doing.",
"Don’t let yesterday take up too much of today.",
"It’s not whether you get knocked down, it’s whether you get up.",
"If you are working on something exciting, it will keep you motivated.",
"Success is not in what you have, but who you are."
]
if st.button("Generate Quote"):
st.success(random.choice(quotes))