Spaces:
Build error
Build error
Update app.py
Browse files1234567import streamlit as stst.button("Reset", type="primary")if st.button('Say hello'):st.write('Why hello there')else:st.write('Goodbye')123456789101112131415import streamlit as stimport telebottok='6432200967:AAFjrIZ_I6XOEfbxCRJVz9giK2fXRysfptA'bot = telebot.TeleBot(tok, parse_mode=None)st.button("Reset", type="primary")if st.button('Say hello'):st.write('Why hello there')else:st.write('Goodbye')st.button('Click me', on_click=hey)def hey():@bot.message_handler(commands=['start', 'help'])def send_welcome(message):bot.reply_to(message, "Howdy, how are you doing?")
app.py+9-1