I used for the chatbot
This is the api for balloons
It is part of the status elements, it only plays once.
But we can make it play more than once.
import time
play = st.button('play balloons twice')
if play:
cnt = 0
while True:
st.balloons()
cnt += 1
if cnt >= 2:
break
time.sleep(3) # seconds
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.