Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -122,10 +122,10 @@ def main():
|
|
122 |
if "current_index" not in st.session_state:
|
123 |
st.session_state.current_index = random.randint(0, len(quotes)-1)
|
124 |
|
125 |
-
st.title("Quote
|
126 |
|
127 |
# AutoRepeat radio button
|
128 |
-
st.session_state.auto_repeat = st.radio("π AutoRepeat", ["On", "Off"])
|
129 |
|
130 |
# Display the current quote
|
131 |
display_quote(st.session_state.current_index)
|
|
|
122 |
if "current_index" not in st.session_state:
|
123 |
st.session_state.current_index = random.randint(0, len(quotes)-1)
|
124 |
|
125 |
+
st.title("Quote Bot AutoRepeat")
|
126 |
|
127 |
# AutoRepeat radio button
|
128 |
+
st.session_state.auto_repeat = st.radio("π AutoRepeat", ["On", "Off"], horizontal=True)
|
129 |
|
130 |
# Display the current quote
|
131 |
display_quote(st.session_state.current_index)
|