Update app.py
Browse files
app.py
CHANGED
|
@@ -175,6 +175,27 @@ def log_prediction(record):
|
|
| 175 |
st.set_page_config(page_title="Next Day Bitcoin Price Movement", layout="wide")
|
| 176 |
st.title("🔮 Next Day Bitcoin Price Movement Predictor")
|
| 177 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 178 |
date = st.date_input("Select a date", datetime.today() - timedelta(days=1))
|
| 179 |
month = date.strftime("%Y-%m")
|
| 180 |
|
|
|
|
| 175 |
st.set_page_config(page_title="Next Day Bitcoin Price Movement", layout="wide")
|
| 176 |
st.title("🔮 Next Day Bitcoin Price Movement Predictor")
|
| 177 |
|
| 178 |
+
# ---------------------------- DONATION SIDEBAR ----------------------------
|
| 179 |
+
with st.sidebar:
|
| 180 |
+
st.markdown("### 💛 Support This Free App")
|
| 181 |
+
st.write(
|
| 182 |
+
"This BTC prediction tool is free for the community.\n"
|
| 183 |
+
"If you find it useful, you can help by defraying hosting & API costs. "
|
| 184 |
+
)
|
| 185 |
+
|
| 186 |
+
st.markdown("**ETH donation address:**")
|
| 187 |
+
st.code("0xf8c2922e4d4d3568d898eea2ec7f63ee1151993c")
|
| 188 |
+
st.image(
|
| 189 |
+
"eth_qr.png",
|
| 190 |
+
caption="Scan to donate via Ethereum",
|
| 191 |
+
use_column_width=True,
|
| 192 |
+
)
|
| 193 |
+
|
| 194 |
+
st.caption(
|
| 195 |
+
"Thank you for supporting independent projects!"
|
| 196 |
+
)
|
| 197 |
+
|
| 198 |
+
|
| 199 |
date = st.date_input("Select a date", datetime.today() - timedelta(days=1))
|
| 200 |
month = date.strftime("%Y-%m")
|
| 201 |
|