quote-generator / app.py
manaskhan's picture
Update app.py
30f1063 verified
raw
history blame contribute delete
838 Bytes
import streamlit as st
import random
# Title
st.title("💡 Random Quote Generator")
# Some sample quotes
quotes = [
"The best way to get started is to quit talking and begin doing. – Walt Disney",
"Don’t let yesterday take up too much of today. – Will Rogers",
"It’s not whether you get knocked down, it’s whether you get up. – Vince Lombardi",
"If you are working on something exciting, it will keep you motivated. – Steve Jobs",
"Success is not in what you have, but who you are. – Bo Bennett",
"Dream bigger. Do bigger. – Anonymous",
"Opportunities don't happen, you create them. – Chris Grosser",
"Push yourself, because no one else is going to do it for you. – Anonymous"
]
# Button to generate quote
if st.button("✨ Generate Quote"):
st.success(random.choice(quotes))