Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import streamlit as st
|
2 |
#import yfinance as yf
|
3 |
-
import telebot
|
|
|
4 |
import requests
|
5 |
|
6 |
# Your bot's API token
|
@@ -35,7 +36,7 @@ message = "Hello, this is a message from the server."
|
|
35 |
# bb=yf.Ticker(coin)
|
36 |
# d=bb.history(period='max')
|
37 |
# return d
|
38 |
-
|
39 |
st.button("Reset", type="primary")
|
40 |
if st.button('Say hello'):
|
41 |
st.write('Why hello there')
|
@@ -50,7 +51,7 @@ else:
|
|
50 |
|
51 |
|
52 |
|
53 |
-
try:
|
54 |
-
st.button('Click me', on_click=send_telegram_message(CHAT_ID, message))
|
55 |
-
except requests.exceptions.ConnectionError:
|
56 |
-
r.status_code = "Connection refused"
|
|
|
1 |
import streamlit as st
|
2 |
#import yfinance as yf
|
3 |
+
#import telebot
|
4 |
+
'''
|
5 |
import requests
|
6 |
|
7 |
# Your bot's API token
|
|
|
36 |
# bb=yf.Ticker(coin)
|
37 |
# d=bb.history(period='max')
|
38 |
# return d
|
39 |
+
'''
|
40 |
st.button("Reset", type="primary")
|
41 |
if st.button('Say hello'):
|
42 |
st.write('Why hello there')
|
|
|
51 |
|
52 |
|
53 |
|
54 |
+
#try:
|
55 |
+
# st.button('Click me', on_click=send_telegram_message(CHAT_ID, message))
|
56 |
+
#except requests.exceptions.ConnectionError:
|
57 |
+
# r.status_code = "Connection refused"
|