Spaces:
Sleeping
Sleeping
File size: 553 Bytes
37f3c70 da7818a 37f3c70 da7818a 37f3c70 da7818a 37f3c70 da7818a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 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))
|