Spaces:
Sleeping
Sleeping
File size: 745 Bytes
87e5d6e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | import streamlit as st
import random
st.set_page_config(page_title="Random Quote Generator", page_icon="π‘")
st.title("π‘ Random Quote Generator")
# A small list of quotes
quotes = [
"The best way to predict the future is to invent it. β Alan Kay",
"Success usually comes to those who are too busy to be looking for it. β Henry David Thoreau",
"Don't watch the clock; do what it does. Keep going. β Sam Levenson",
"Whether you think you can or you think you can't, you're right. β Henry Ford",
"Simplicity is the ultimate sophistication. β Leonardo da Vinci",
"In the middle of every difficulty lies opportunity. β Albert Einstein"
]
if st.button("Generate Quote"):
st.info(random.choice(quotes))
|