Spaces:
Sleeping
Sleeping
Madde the ''play again'' button red
Browse files
app.py
CHANGED
|
@@ -127,7 +127,7 @@ def write_bot(input, remember=True, blink=True):
|
|
| 127 |
response += chunk + " "
|
| 128 |
time.sleep(0.05)
|
| 129 |
# Add a blinking cursor to simulate typing
|
| 130 |
-
message_placeholder.markdown(response + "▌")
|
| 131 |
time.sleep(0.5)
|
| 132 |
message_placeholder.markdown(full_response)
|
| 133 |
if remember == True:
|
|
@@ -322,7 +322,7 @@ if st.session_state.actions[-1] == 'cue':
|
|
| 322 |
|
| 323 |
b5 = st.button("I remembered the word!", key="4", type='primary')
|
| 324 |
b6 = st.button("Exit", key="5", type='primary')
|
| 325 |
-
new = st.button('Play again', key=64)
|
| 326 |
|
| 327 |
if b1:
|
| 328 |
st.session_state.counters["letter_count"] += 1
|
|
|
|
| 127 |
response += chunk + " "
|
| 128 |
time.sleep(0.05)
|
| 129 |
# Add a blinking cursor to simulate typing
|
| 130 |
+
message_placeholder.markdown(response + "▌")
|
| 131 |
time.sleep(0.5)
|
| 132 |
message_placeholder.markdown(full_response)
|
| 133 |
if remember == True:
|
|
|
|
| 322 |
|
| 323 |
b5 = st.button("I remembered the word!", key="4", type='primary')
|
| 324 |
b6 = st.button("Exit", key="5", type='primary')
|
| 325 |
+
new = st.button('Play again', key=64, type='primary')
|
| 326 |
|
| 327 |
if b1:
|
| 328 |
st.session_state.counters["letter_count"] += 1
|